init: fix logically inverted FEATURE_EXTRA_QUIET check
[oweals/busybox.git] / libbb / chomp.c
index eab7707600062ebeced31b9c7532cb7c76b04edd..ed4bf6bebf655b040f1c79070aac276383a1df4d 100644 (file)
 
 #include "libbb.h"
 
-void chomp(char *s)
+void FAST_FUNC chomp(char *s)
 {
        char *lc = last_char_is(s, '\n');
 
        if (lc)
-               *lc = 0;
+               *lc = '\0';
 }