Skip to content

Commit

Permalink
mailmap: debug: fix out-of-order fprintf() arguments
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Eric Sunshine authored and Junio C Hamano committed Jul 15, 2013
1 parent 97e751b commit c10be0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mailmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c10be0c

Please sign in to comment.