changeset 344:a0c3767f0a82

Fix thinko.
author Rob Landley <rob@landley.net>
date Sun, 25 Jan 2009 16:34:46 -0600
parents 0fc63f28dccd
children 10618c4c8cf2
files lib/lib.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib/lib.c	Mon Jan 19 22:59:21 2009 -0600
+++ b/lib/lib.c	Sun Jan 25 16:34:46 2009 -0600
@@ -339,7 +339,7 @@
 
 void xchdir(char *path)
 {
-	if (chdir(path)) error_exit("chdir '%s'");
+	if (chdir(path)) error_exit("chdir '%s'", path);
 }
 
 // Ensure entire path exists.