mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-23 17:34:00 +03:00
Merge pull request #349 from systemd-mailing-devs/1435103298-2439-1-git-send-email-jengelh@inai.de
ata_id: unbotch format specifier
This commit is contained in:
commit
482db06ff8
@ -639,8 +639,8 @@ int main(int argc, char *argv[])
|
||||
*/
|
||||
word = identify.wyde[108];
|
||||
if ((word & 0xf000) == 0x5000)
|
||||
printf("ID_WWN=0x%1$"PRIu64"x\n"
|
||||
"ID_WWN_WITH_EXTENSION=0x%1$"PRIu64"x\n",
|
||||
printf("ID_WWN=0x%1$" PRIx64 "\n"
|
||||
"ID_WWN_WITH_EXTENSION=0x%1$" PRIx64 "\n",
|
||||
identify.octa[108/4]);
|
||||
|
||||
/* from Linux's include/linux/ata.h */
|
||||
|
Loading…
Reference in New Issue
Block a user