aboutsummaryrefslogtreecommitdiff
path: root/name-hash.c
diff options
context:
space:
mode:
authorBrian Gesiak <modocache@gmail.com>2014-05-27 00:33:46 +0900
committerJunio C Hamano <gitster@pobox.com>2014-05-27 14:00:44 -0700
commitf1064f6bc897fe35830c2ecee08f8dd27caf763c (patch)
tree83fa4d32de8d94c4b6f887d34d510046fb0075a3 /name-hash.c
parentc4a7b0092bbe39a6b05ddd65a6b3e45565203367 (diff)
downloadgit-f1064f6bc897fe35830c2ecee08f8dd27caf763c.tar.gz
git-f1064f6bc897fe35830c2ecee08f8dd27caf763c.tar.xz
config.c: rearrange xcalloc arguments
xcalloc() takes two arguments: the number of elements and their size. config.c includes several calls to xcalloc() that pass the arguments in reverse order: the size of a struct lock_file*, followed by the number to allocate. Rearrange them so they are in the correct order. Signed-off-by: Brian Gesiak <modocache@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'name-hash.c')
0 files changed, 0 insertions, 0 deletions