summaryrefslogtreecommitdiffstats
path: root/bin/rm
diff options
context:
space:
mode:
Diffstat (limited to 'bin/rm')
-rw-r--r--bin/rm/rm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/rm/rm.c b/bin/rm/rm.c
index 1ef6f38..7d02fa0 100644
--- a/bin/rm/rm.c
+++ b/bin/rm/rm.c
@@ -317,6 +317,7 @@ rm_file(char **argv)
int rval;
char *f;
+ bzero(&sb, sizeof(sb));
/*
* Remove a file. POSIX 1003.2 states that, by default, attempting
* to remove a directory is an error, so must always stat the file.
OpenPOWER on IntegriCloud