aboutsummaryrefslogtreecommitdiff
path: root/toys/other/blkid.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/other/blkid.c')
-rw-r--r--toys/other/blkid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/other/blkid.c b/toys/other/blkid.c
index 4883b607..8aab8f74 100644
--- a/toys/other/blkid.c
+++ b/toys/other/blkid.c
@@ -149,7 +149,7 @@ void blkid_main(void)
sprintf(device, "/dev/%.20s", name);
if (-1 == (fd = open(device, O_RDONLY))) {
- if (errno != ENOMEDIUM) perror_msg("%s", device);
+ if (errno != ENOMEDIUM) perror_msg_raw(device);
} else {
do_blkid(fd, device);
close(fd);