From 9693d1d1a965006c14d43a8e73aa9cc4f512e75f Mon Sep 17 00:00:00 2001 From: z3bra Date: Mon, 18 Jan 2016 10:31:36 +0000 Subject: [PATCH] use 'dirname' as error message for xdirname --- stagit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stagit.c b/stagit.c index 3ab865e..69f72d1 100644 --- 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); -- libgit2 1.1.1