aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2009-01-25 16:34:46 -0600
committerRob Landley <rob@landley.net>2009-01-25 16:34:46 -0600
commitddae5e91f6dc0f5bfb4fdf6d5b5bbd8df25d97f0 (patch)
treefedb3deed6549227978ed3c2592f0ac78f1405e1 /lib/lib.c
parent933d7b6fb54bea7e8b57d45f497df94353559ea5 (diff)
downloadtoybox-ddae5e91f6dc0f5bfb4fdf6d5b5bbd8df25d97f0.tar.gz
Fix thinko.
Diffstat (limited to 'lib/lib.c')
-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.