summaryrefslogtreecommitdiff
path: root/libbb/nuke_str.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/nuke_str.c')
-rw-r--r--libbb/nuke_str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/nuke_str.c b/libbb/nuke_str.c
index 240e680..b5385e9 100644
--- a/libbb/nuke_str.c
+++ b/libbb/nuke_str.c
@@ -12,7 +12,7 @@
void FAST_FUNC nuke_str(char *str)
{
- if (str) {
+ if (str) {
while (*str)
*str++ = 0;
/* or: memset(str, 0, strlen(str)); - not as small as above */