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 /sys-utils/fallocate.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 'sys-utils/fallocate.c')
-rw-r--r-- | sys-utils/fallocate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/fallocate.c b/sys-utils/fallocate.c index adfaa70f7..ff0f9e6e1 100644 --- a/sys-utils/fallocate.c +++ b/sys-utils/fallocate.c @@ -150,7 +150,7 @@ int main(int argc, char **argv) fd = open(fname, O_WRONLY|O_CREAT, 0644); if (fd < 0) - err(EXIT_FAILURE, _("%s: open failed"), fname); + err(EXIT_FAILURE, _("cannot open %s"), fname); #ifdef HAVE_FALLOCATE error = fallocate(fd, mode, offset, length); |