summaryrefslogtreecommitdiff
path: root/mailmap.c
diff options
context:
space:
mode:
authorEric Sunshine <sunshine@sunshineco.com>2013-07-15 02:54:10 -0400
committerJunio C Hamano <gitster@pobox.com>2013-07-15 08:19:56 -0700
commit0939a242fe95fd2c2a2a4094d827e144382de3d7 (patch)
tree7ef461206d53215aa1ac1f5ffca6089c35494846 /mailmap.c
parentc10be0c6acfe671adf0ed1b3387de45d126f8ab7 (diff)
downloadgit-0939a242fe95fd2c2a2a4094d827e144382de3d7.tar.gz
mailmap: debug: fix malformed fprintf() format conversion specification
Resolve segmentation fault due to size_t variable being consumed by '%s'. 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 051635472d..62d998a37c 100644
--- a/mailmap.c
+++ b/mailmap.c
@@ -337,7 +337,7 @@ int map_user(struct string_list *map,
*name = mi->name;
*namelen = strlen(*name);
}
- debug_mm("map_user: to '%.*s' <.*%s>\n", *namelen, *name,
+ debug_mm("map_user: to '%.*s' <%.*s>\n", *namelen, *name,
*emaillen, *email);
return 1;
}