ctucx.git: stagit

ctucx' stagit fork

commit 9693d1d1a965006c14d43a8e73aa9cc4f512e75f
parent 4f56d5dec6c8fa5aabcac0154235fedeebe1f186
Author: z3bra <willyatmailoodotorg>
Date: Mon, 18 Jan 2016 10:31:36 +0000

use 'dirname' as error message for xdirname
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/stagit.c b/stagit.c
@@ -154,7 +154,7 @@ xdirname(const char *path)
 	if (!(p = strdup(path)))
 		err(1, "strdup");
 	if (!(b = dirname(p)))
-		err(1, "basename");
+		err(1, "dirname");
 	if (!(b = strdup(b)))
 		err(1, "strdup");
 	free(p);