ata_id: unbotch format specifier
authorJan Engelhardt <jengelh@inai.de>
Tue, 23 Jun 2015 23:48:18 +0000 (01:48 +0200)
committerHarald Hoyer <harald@redhat.com>
Wed, 24 Jun 2015 00:02:05 +0000 (02:02 +0200)
commitec62e858734a66130f68d036c55c2050bde1e52e
tree347780d708855d7f80c9aa51a88f3da9b0fd56ed
parent0891c5ed0b8d9ae20cae585d87da483d5d9c1e67
ata_id: unbotch format specifier

Commit v218-247-g11c6f69 broke the output of the utility. "%1$" PRIu64
"x" expands to "%1$lux", essentially "%lux", which shows the problem.
u and x cannot be combined, u wins as the type character, and x gets
emitted verbatim to stdout.

References: https://bugzilla.redhat.com/show_bug.cgi?id=1227503
src/udev/ata_id/ata_id.c