Apply a patch from Larry Doolittle to add "-all" and "-none" switches
[oweals/busybox.git] / cmdedit.c
index 1690326976ff52d5637adbcd56523b24b286fa12..2e57b9a349e1be06446848f9af10bb5257b048c6 100644 (file)
--- a/cmdedit.c
+++ b/cmdedit.c
@@ -54,6 +54,9 @@
 #include <sys/stat.h>
 #endif
 
+#include "pwd_grp/pwd.h"
+
+
 static const int MAX_HISTORY = 15;             /* Maximum length of the linked list for the command line history */
 
 enum {
@@ -318,7 +321,7 @@ static void cmdedit_setwidth(int w, int redraw_flg)
                                input_backward();
                }
        } else {
-               error_msg("\n*** Error: minimum screen width is %d\n", cmdedit_termw);
+               error_msg("\n*** Error: minimum screen width is %d", cmdedit_termw);
        }
 }