Fix thinko.
diff --git a/lib/lib.c b/lib/lib.c
index a5bf475..ecef64d 100644
--- a/lib/lib.c
+++ b/lib/lib.c
@@ -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.