Fix thinko.
authorRob Landley <rob@landley.net>
Sun, 25 Jan 2009 22:34:46 +0000 (16:34 -0600)
committerRob Landley <rob@landley.net>
Sun, 25 Jan 2009 22:34:46 +0000 (16:34 -0600)
lib/lib.c

index a5bf475..ecef64d 100644 (file)
--- 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.