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 a5bf4755..ecef64dc 100644
--- a/lib/lib.c
+++ b/lib/lib.c
@@ -339,7 +339,7 @@ char *xabspath(char *path)
void xchdir(char *path)
{
- if (chdir(path)) error_exit("chdir '%s'");
+ if (chdir(path)) error_exit("chdir '%s'", path);
}
// Ensure entire path exists.