#16 World Wide Name mis-Rendered Unique ID

closed-fixed
nobody
None
5
2008-11-03
2008-10-06
Anonymous
No

In identify.c the World Wide Name's Unique ID field is printed:

printf("\tUnique ID\t: %x%x\n", (val[109] & 0x000f), ((val[110] << 16) | val[111]));

This unfortunately mis-renders the Unique ID.

The correct rendering would be done by the format string "%x%08x"

Discussion

  • Mark Lord
    Mark Lord
    2008-11-03

    Fixed for hdparm-9.2

    Thanks.

     
  • Mark Lord
    Mark Lord
    2008-11-03

    • status: open --> closed-fixed