stagit

use 'dirname' as error message for xdirname

z3bra contact@arjunchoudhary.com

commit: 8c8d29a parent: 2c2b77d
1 files changed, 1 insertions(+), 1 deletions(-)
Mstagit.c+1-1
M · stagit.c +1, -1
1@@ -154,7 +154,7 @@ xdirname(const char *path)
2 	if (!(p = strdup(path)))
3 		err(1, "strdup");
4 	if (!(b = dirname(p)))
5-		err(1, "basename");
6+		err(1, "dirname");
7 	if (!(b = strdup(b)))
8 		err(1, "strdup");
9 	free(p);