summaryrefslogtreecommitdiffstats
path: root/blkid.c
diff options
context:
space:
mode:
Diffstat (limited to 'blkid.c')
-rw-r--r--blkid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/blkid.c b/blkid.c
index f88290d..d5bb7cf 100644
--- a/blkid.c
+++ b/blkid.c
@@ -46,7 +46,7 @@ read_id(const char *dev)
return 1;
}
- printf("%" PRIx8 "%" PRIx8 "%" PRIx8 "%" PRIx8 "\n",
+ printf("%02" PRIx8 "%02" PRIx8 "%02" PRIx8 "%02" PRIx8 "\n",
id[3], id[2], id[1], id[0]);
fclose(fp);