Skip to content

Commit

Permalink
Replaced retired call in demo program
Browse files Browse the repository at this point in the history
  • Loading branch information
Magnus Feuer committed Oct 16, 2019
1 parent f582378 commit 577fa10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/vsd_sub_example.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ uint8_t dump_desc(vsd_signal_node_t* node, void* _ud)
{
vss_signal_t* elem = node->data;
vsd_data_u val;

char buf[1024];
if (elem->element_type == VSS_BRANCH) {
printf("FATAL: Tried to print branch: %s", vsd_signal_to_path_static(elem));
printf("FATAL: Tried to print branch: %s", vss_get_signal_path(elem, buf, sizeof(buf)));
exit(255);
}

Expand Down

0 comments on commit 577fa10

Please sign in to comment.