diff options
| author | Sami Kerola <kerolasa@iki.fi> | 2012-07-15 10:39:57 +0200 |
|---|---|---|
| committer | Karel Zak <kzak@redhat.com> | 2012-07-16 18:18:22 +0200 |
| commit | 289dcc90234680063a336925a99d1ef04e97cbda (patch) | |
| tree | cb8656c16143daa406ea9d706406ca12d94d89d3 /lib/path.c | |
| parent | add1b8afd0d836039d9adcc29f53ba6136a66b09 (diff) | |
| download | util-linux-289dcc90234680063a336925a99d1ef04e97cbda.tar.gz | |
translation: unify file open error messages
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'lib/path.c')
| -rw-r--r-- | lib/path.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/path.c b/lib/path.c index 0d4d39135d..8437c0220f 100644 --- a/lib/path.c +++ b/lib/path.c @@ -55,7 +55,7 @@ path_vfopen(const char *mode, int exit_on_error, const char *path, va_list ap) f = fopen(p, mode); if (!f && exit_on_error) - err(EXIT_FAILURE, _("error: cannot open %s"), p); + err(EXIT_FAILURE, _("cannot open %s"), p); return f; } @@ -67,7 +67,7 @@ path_vopen(int flags, const char *path, va_list ap) fd = open(p, flags); if (fd == -1) - err(EXIT_FAILURE, _("error: cannot open %s"), p); + err(EXIT_FAILURE, _("cannot open %s"), p); return fd; } |
