fsck.minix: fix printf format warning
fsck.minix.c:1302:3: warning: ISO C does not support the '%m' gnu_printf format [-Wformat] Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
a2bfda30ba
commit
2a11944f16
|
@ -1300,7 +1300,7 @@ main(int argc, char **argv) {
|
|||
}
|
||||
IN = open(device_name, repair ? O_RDWR : O_RDONLY);
|
||||
if (IN < 0)
|
||||
die(_("unable to open '%s': %m"), device_name);
|
||||
die(_("unable to open '%s': %s"), device_name, strerror(errno));
|
||||
for (count = 0; count < 3; count++)
|
||||
sync();
|
||||
read_superblock();
|
||||
|
|
Loading…
Reference in New Issue