diff options
| author | David Abdurachmanov <[email protected]> | 2013-01-13 16:44:21 +0100 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2013-01-13 20:55:00 +0100 |
| commit | 1a4d0668d18bf1090c5c08cdb5cb3ba2b8eb5410 (patch) | |
| tree | 5229e0106aaacb7900b3c058efde3dfd88f1b624 /src/ar.c | |
| parent | 3f9256d1845af7e7119654f5febc099df5b57984 (diff) | |
ar.c (do_oper_delete): Fix num passed to memset.
Signed-off-by: David Abdurachmanov <[email protected]>
Diffstat (limited to 'src/ar.c')
| -rw-r--r-- | src/ar.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -919,7 +919,7 @@ do_oper_delete (const char *arfname, char **argv, int argc, long int instance) { bool *found = alloca (sizeof (bool) * argc); - memset (found, '\0', sizeof (found)); + memset (found, '\0', sizeof (bool) * argc); /* List of the files we keep. */ struct armem *to_copy = NULL; |
