builtin-for-each-ref.c: fix typo in error message
authorMichele Ballabio <barra_cuda@katamail.com>
Sun, 24 Feb 2008 23:16:04 +0000 (00:16 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 25 Feb 2008 02:34:34 +0000 (18:34 -0800)
Signed-off-by: Michele Ballabio <barra_cuda@katamail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-for-each-ref.c

index f36a43c26459bd386618e551e2e93743cd8030aa..07d9c572125523e2eb8f82e4cab907ee7dc94348 100644 (file)
@@ -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;