summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2015-06-24 02:27:30 +0200
committerKay Sievers <kay@vrfy.org>2015-06-24 02:27:30 +0200
commit482db06ff81926a7becb976483f81703cbec04b6 (patch)
tree347780d708855d7f80c9aa51a88f3da9b0fd56ed /src
parent0891c5ed0b8d9ae20cae585d87da483d5d9c1e67 (diff)
parentec62e858734a66130f68d036c55c2050bde1e52e (diff)
Merge pull request #349 from systemd-mailing-devs/1435103298-2439-1-git-send-email-jengelh@inai.de
ata_id: unbotch format specifier
Diffstat (limited to 'src')
-rw-r--r--src/udev/ata_id/ata_id.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/udev/ata_id/ata_id.c b/src/udev/ata_id/ata_id.c
index cc1bf45ae9..7ba0b7fc8f 100644
--- a/src/udev/ata_id/ata_id.c
+++ b/src/udev/ata_id/ata_id.c
@@ -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 */