]> git.scripts.mit.edu Git - git.git/blobdiff - alloc.c
interpret_branch_name: always respect "namelen" parameter
[git.git] / alloc.c
diff --git a/alloc.c b/alloc.c
index aeae55c976802264d714282218e58a858a9c68b5..f3ee745695643c00f175288a9592ab073dd589b0 100644 (file)
--- a/alloc.c
+++ b/alloc.c
@@ -58,7 +58,7 @@ static void report(const char *name, unsigned int count, size_t size)
 }
 
 #define REPORT(name)   \
-    report(#name, name##_allocs, name##_allocs*sizeof(struct name) >> 10)
+    report(#name, name##_allocs, name##_allocs * sizeof(struct name) >> 10)
 
 void alloc_report(void)
 {