aboutsummaryrefslogtreecommitdiff
path: root/libbb/lineedit.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/lineedit.c')
-rw-r--r--libbb/lineedit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c
index 5ebea70d6..a99f9b5fd 100644
--- a/libbb/lineedit.c
+++ b/libbb/lineedit.c
@@ -233,7 +233,7 @@ static size_t load_string(const char *src, int maxsize)
233 safe_strncpy(command_ps, src, maxsize); 233 safe_strncpy(command_ps, src, maxsize);
234 return strlen(command_ps); 234 return strlen(command_ps);
235} 235}
236# if ENABLE_FEATURE_TAB_COMPLETION 236# if ENABLE_FEATURE_TAB_COMPLETION
237static void save_string(char *dst, int maxsize) 237static void save_string(char *dst, int maxsize)
238{ 238{
239 safe_strncpy(dst, command_ps, maxsize); 239 safe_strncpy(dst, command_ps, maxsize);