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 diff --git a/builtin-for-each-ref.c b/builtin-for-each-ref.c index f36a43c..07d9c57 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 v0.10.2-6-g49f6