From 8e0fbe671f6a63b885702917bf4e7d7a85c59ab4 Mon Sep 17 00:00:00 2001 From: Michele Ballabio Date: Mon, 25 Feb 2008 00:16:04 +0100 Subject: builtin-for-each-ref.c: fix typo in error message Signed-off-by: Michele Ballabio Signed-off-by: Junio C Hamano --- builtin-for-each-ref.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'builtin-for-each-ref.c') diff --git a/builtin-for-each-ref.c b/builtin-for-each-ref.c index f36a43c264..07d9c57212 100644 --- a/builtin-for-each-ref.c +++ b/builtin-for-each-ref.c @@ -165,7 +165,7 @@ static int verify_format(const char *format) for (cp = format; *cp && (sp = find_next(cp)); ) { const char *ep = strchr(sp, ')'); if (!ep) - return error("malformatted format string %s", sp); + return error("malformed format string %s", sp); /* sp points at "%(" and ep points at the closing ")" */ parse_atom(sp + 2, ep); cp = ep + 1; -- cgit v1.2.3