diff options
Diffstat (limited to 'disk-utils/fdformat.c')
-rw-r--r-- | disk-utils/fdformat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/disk-utils/fdformat.c b/disk-utils/fdformat.c index 97fd4e8d6..e937a8ed5 100644 --- a/disk-utils/fdformat.c +++ b/disk-utils/fdformat.c @@ -59,7 +59,7 @@ static void verify_disk(char *name) printf(_("Verifying ... ")); fflush(stdout); if ((fd = open(name, O_RDONLY)) < 0) - err(EXIT_FAILURE, _("cannot open file %s"), name); + err(EXIT_FAILURE, _("cannot open %s"), name); for (cyl = 0; cyl < param.track; cyl++) { int read_bytes; @@ -152,7 +152,7 @@ int main(int argc, char **argv) ctrl = open(argv[0], O_WRONLY); if (ctrl < 0) - err(EXIT_FAILURE, _("cannot open file %s"), argv[0]); + err(EXIT_FAILURE, _("cannot open %s"), argv[0]); if (ioctl(ctrl, FDGETPRM, (long)¶m) < 0) err(EXIT_FAILURE, _("Could not determine current format type")); |