summaryrefslogtreecommitdiff
path: root/mailmap.c
diff options
context:
space:
mode:
authorEric Sunshine <sunshine@sunshineco.com>2013-07-15 02:54:09 -0400
committerJunio C Hamano <gitster@pobox.com>2013-07-15 08:18:04 -0700
commitc10be0c6acfe671adf0ed1b3387de45d126f8ab7 (patch)
tree930837acabeb200ebf07ecddb8ef729d2fda2b75 /mailmap.c
parent97e751be7928d17c177b2fe65fb9bacf6ee35643 (diff)
downloadgit-c10be0c6acfe671adf0ed1b3387de45d126f8ab7.tar.gz
mailmap: debug: fix out-of-order fprintf() arguments
Resolve segmentation fault due to arguments passed in wrong order. Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'mailmap.c')
-rw-r--r--mailmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mailmap.c b/mailmap.c
index a7e92db3d6..051635472d 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) {