diff options
-rw-r--r-- | shell/cmdedit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/cmdedit.c b/shell/cmdedit.c index 5cbc81131..eee32131a 100644 --- a/shell/cmdedit.c +++ b/shell/cmdedit.c | |||
@@ -275,7 +275,8 @@ static void goto_new_line(void) | |||
275 | 275 | ||
276 | static inline void out1str(const char *s) | 276 | static inline void out1str(const char *s) |
277 | { | 277 | { |
278 | fputs(s, stdout); | 278 | if ( s ) |
279 | fputs(s, stdout); | ||
279 | } | 280 | } |
280 | static inline void beep(void) | 281 | static inline void beep(void) |
281 | { | 282 | { |