diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2010-06-17 07:07:31 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2010-06-17 07:07:31 +0000 |
commit | cfc4bca6482b5611e3f9ed78c2d31f12e4852561 (patch) | |
tree | 0df996541dc0953d0276ab3aaaf71e5aeecb3924 /sbin | |
parent | 9dcf39ce10394ced86b82765acc9d843c185d9a9 (diff) |
Correct sizing of object to be allocated by calloc(), replacing
sizeof(state) with sizeof(*state). This worked by accident since
the struct contained a single int at present, but could have broken
in the future. patch from hyc AT symas.com
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions