Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/cmdedit.c3
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)
static inline void out1str(const char *s)
{
- fputs(s, stdout);
+ if ( s )
+ fputs(s, stdout);
}
static inline void beep(void)
{