aboutsummaryrefslogtreecommitdiff
path: root/lib/xwrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xwrap.c')
-rw-r--r--lib/xwrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xwrap.c b/lib/xwrap.c
index 7e602d5f..04a4cae3 100644
--- a/lib/xwrap.c
+++ b/lib/xwrap.c
@@ -629,7 +629,7 @@ error:
void xchdir(char *path)
{
- if (chdir(path)) error_exit("chdir '%s'", path);
+ if (chdir(path)) perror_exit("chdir '%s'", path);
}
void xchroot(char *path)