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/losetup.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/losetup.c')
-rw-r--r-- | sys-utils/losetup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/losetup.c b/sys-utils/losetup.c index 48af8ebca..24d3d3cf1 100644 --- a/sys-utils/losetup.c +++ b/sys-utils/losetup.c @@ -117,7 +117,7 @@ static int set_capacity(struct loopdev_cxt *lc) int fd = loopcxt_get_fd(lc); if (fd < 0) - warn(_("%s: open failed"), loopcxt_get_device(lc)); + warn(_("cannot open %s"), loopcxt_get_device(lc)); else if (ioctl(fd, LOOP_SET_CAPACITY) != 0) warnx(_("%s: set capacity failed"), loopcxt_get_device(lc)); else |