diff options
Diffstat (limited to 'lib/microtar/src/microtar.c')
-rw-r--r-- | lib/microtar/src/microtar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/microtar/src/microtar.c b/lib/microtar/src/microtar.c index 20c509d..6130a49 100644 --- a/lib/microtar/src/microtar.c +++ b/lib/microtar/src/microtar.c @@ -338,8 +338,8 @@ int mtar_clear_header(mtar_header_t *h){ h->mtime = 0; h->type = 0; - bzero(h->name, sizeof(h->name)); - bzero(h->linkname, sizeof(h->linkname)); + memset(h->name, 0, sizeof(h->name)); + memset(h->linkname, 0, sizeof(h->linkname)); return MTAR_ESUCCESS; } |