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/swapon.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/swapon.c')
-rw-r--r-- | sys-utils/swapon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-utils/swapon.c b/sys-utils/swapon.c index aec7d2e5e..c9cabc140 100644 --- a/sys-utils/swapon.c +++ b/sys-utils/swapon.c @@ -307,7 +307,7 @@ static int swap_rewrite_signature(const char *devname, unsigned int pagesize) fd = open(devname, O_WRONLY); if (fd == -1) { - warn(_("%s: open failed"), devname); + warn(_("cannot open %s"), devname); return -1; } @@ -474,7 +474,7 @@ static int swapon_checks(const char *special) fd = open(special, O_RDONLY); if (fd == -1) { - warn(_("%s: open failed"), special); + warn(_("cannot open %s"), special); goto err; } |