Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit c10be0c

Browse files
sunshinecogitster
authored andcommitted
mailmap: debug: fix out-of-order fprintf() arguments
Resolve segmentation fault due to arguments passed in wrong order. Signed-off-by: Eric Sunshine <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 97e751b commit c10be0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mailmap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ int map_user(struct string_list *map,
309309
struct mailmap_entry *me;
310310

311311
debug_mm("map_user: map '%.*s' <%.*s>\n",
312-
*name, *namelen, *emaillen, *email);
312+
*namelen, *name, *emaillen, *email);
313313

314314
item = lookup_prefix(map, *email, *emaillen);
315315
if (item != NULL) {

0 commit comments

Comments
 (0)