From c10be0c6acfe671adf0ed1b3387de45d126f8ab7 Mon Sep 17 00:00:00 2001 From: Eric Sunshine Date: Mon, 15 Jul 2013 02:54:09 -0400 Subject: mailmap: debug: fix out-of-order fprintf() arguments Resolve segmentation fault due to arguments passed in wrong order. Signed-off-by: Eric Sunshine Signed-off-by: Junio C Hamano diff --git a/mailmap.c b/mailmap.c index a7e92db..0516354 100644 --- a/mailmap.c +++ b/mailmap.c @@ -309,7 +309,7 @@ int map_user(struct string_list *map, struct mailmap_entry *me; debug_mm("map_user: map '%.*s' <%.*s>\n", - *name, *namelen, *emaillen, *email); + *namelen, *name, *emaillen, *email); item = lookup_prefix(map, *email, *emaillen); if (item != NULL) { -- cgit v0.10.2-6-g49f6