aboutsummaryrefslogtreecommitdiffstats
path: root/lib/path.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/path.c')
-rw-r--r--lib/path.c4
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;
}