diff options
| author | Chris D. Faulhaber <jedgar@FreeBSD.org> | 2001-12-02 01:52:34 +0000 |
|---|---|---|
| committer | Chris D. Faulhaber <jedgar@FreeBSD.org> | 2001-12-02 01:52:34 +0000 |
| commit | d0b8d0fdfc8ba4e214cda2b7d4c5598aad3d1f6c (patch) | |
| tree | 879a9bfd9e43fb2e9f80faae4623ac7ecf7c943c | |
| parent | a9648779a518e8c4a082cdd8f26a443b40cf4b8b (diff) | |
Notes
| -rw-r--r-- | bin/setfacl/util.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/setfacl/util.c b/bin/setfacl/util.c index 25144213dfe9..39061463129a 100644 --- a/bin/setfacl/util.c +++ b/bin/setfacl/util.c @@ -38,10 +38,9 @@ zmalloc(size_t size) { void *ptr; - ptr = malloc(size); + ptr = calloc(1, size); if (!ptr) err(EX_OSERR, "malloc() failed"); - bzero(ptr, size); return ptr; } |
