From 289dcc90234680063a336925a99d1ef04e97cbda Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sun, 15 Jul 2012 10:39:57 +0200 Subject: translation: unify file open error messages Signed-off-by: Sami Kerola --- disk-utils/fdformat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'disk-utils/fdformat.c') 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")); -- cgit v1.2.3-55-g7522