summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorLibravatar Brian Gesiak <modocache@gmail.com>2014-05-27 00:33:46 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-05-27 14:00:44 -0700
commitf1064f6bc897fe35830c2ecee08f8dd27caf763c (patch)
tree83fa4d32de8d94c4b6f887d34d510046fb0075a3 /diff.c
parentcommit.c: rearrange xcalloc arguments (diff)
downloadtgif-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 'diff.c')
0 files changed, 0 insertions, 0 deletions