diff options
Diffstat (limited to 'tools/attr.c')
-rw-r--r-- | tools/attr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/attr.c b/tools/attr.c index c8aa0b4..312aef1 100644 --- a/tools/attr.c +++ b/tools/attr.c @@ -228,7 +228,7 @@ main(int argc, char **argv) perror("malloc"); exit(1); } - bzero((char *)&cursor, sizeof(cursor)); + memset(&cursor, 0, sizeof(cursor)); do { error = attr_list(filename, buffer, BUFSIZE, attrflags, &cursor); |