builtin-for-each-ref.c: fix typo in error message
Signed-off-by: Michele Ballabio <barra_cuda@katamail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Michele Ballabio committed
Feb 25, 2008 at 00:16 UTC
8e0fbe671f6a63b885702917bf4e7d7a85c59ab4
1 file changed
+1
-1
builtin-for-each-ref.c
+1
-1
@@ -165,7 +165,7 @@ static int verify_format(const char *format)
165
for (cp = format; *cp && (sp = find_next(cp)); ) {
166
const char *ep = strchr(sp, ')');
167
if (!ep)
168
- return error("malformatted format string %s", sp);
168
+ return error("malformed format string %s", sp);
169
/* sp points at "%(" and ep points at the closing ")" */
170
parse_atom(sp + 2, ep);
171
cp = ep + 1;