commit 9693d1d1a965006c14d43a8e73aa9cc4f512e75f parent 4f56d5dec6c8fa5aabcac0154235fedeebe1f186 Author: z3bra <willyatmailoodotorg> Date: Mon Jan 18 10:31:36 +0000 use 'dirname' as error message for xdirname Diffstat:
stagit.c | | | 2 | +- |
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);