From ddae5e91f6dc0f5bfb4fdf6d5b5bbd8df25d97f0 Mon Sep 17 00:00:00 2001
From: Rob Landley <rob@landley.net>
Date: Sun, 25 Jan 2009 16:34:46 -0600
Subject: Fix thinko.

---
 lib/lib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'lib')

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.
-- 
cgit v1.2.3