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:
Sami Kerola 2012-03-18 14:13:31 +01:00 committed by Karel Zak
parent a2bfda30ba
commit 2a11944f16
1 changed files with 1 additions and 1 deletions

View File

@ -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();