diff options
author | Brian Gesiak <modocache@gmail.com> | 2014-05-27 00:33:46 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-05-27 14:00:44 -0700 |
commit | f1064f6bc897fe35830c2ecee08f8dd27caf763c (patch) | |
tree | 83fa4d32de8d94c4b6f887d34d510046fb0075a3 /diff.c | |
parent | commit.c: rearrange xcalloc arguments (diff) | |
download | tgif-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