diff options
author | Sami Kerola | 2012-07-15 10:39:57 +0200 |
---|---|---|
committer | Karel Zak | 2012-07-16 18:18:22 +0200 |
commit | 289dcc90234680063a336925a99d1ef04e97cbda (patch) | |
tree | cb8656c16143daa406ea9d706406ca12d94d89d3 /disk-utils/fdformat.c | |
parent | translation: unify stat error messages (diff) | |
download | kernel-qcow2-util-linux-289dcc90234680063a336925a99d1ef04e97cbda.tar.gz kernel-qcow2-util-linux-289dcc90234680063a336925a99d1ef04e97cbda.tar.xz kernel-qcow2-util-linux-289dcc90234680063a336925a99d1ef04e97cbda.zip |
translation: unify file open error messages
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
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")); |