Skip to contentSkip to conversation

builtin-for-each-ref.c: fix typo in error message

PATCH New Michele Ballabio 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 builtin-for-each-ref.c: fix typo in error message

---
 builtin-for-each-ref.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
builtin-for-each-ref.c +1 -1
index f36a43c..07d9c57 100644
@@ -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;
Signature · 1 line
1.5.4.2