aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lib.c b/lib/lib.c
index fe85c5fe..95ba1216 100644
--- a/lib/lib.c
+++ b/lib/lib.c
@@ -188,7 +188,7 @@ void xaccess(char *path, int flags)
int xcreate(char *path, int flags, int mode)
{
int fd = open(path, flags, mode);
- if (fd == -1) perror_exit("No file %s\n", path);
+ if (fd == -1) perror_exit("%s", path);
return fd;
}