Skip to content

Commit

Permalink
tools/list-local-devices: print vid/pid as number
Browse files Browse the repository at this point in the history
YAML does upport hex so let's print it as normal number to make for
easier parsing
  • Loading branch information
whot committed Nov 10, 2024
1 parent 18ca640 commit 159cc69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/list-local-devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ tablet_print_yaml(gpointer data, gpointer user_data)

printf(" - name: '%s'\n", name);
printf(" bus: '%s'\n", bus);
printf(" vid: '0x%04x'\n", vid);
printf(" pid: '0x%04x'\n", pid);
printf(" vid: 0x%04x\n", vid);
printf(" pid: 0x%04x\n", pid);
printf(" nodes: \n");
g_list_foreach(d->nodes, print_devnode, NULL);

Expand Down

0 comments on commit 159cc69

Please sign in to comment.