summaryrefslogtreecommitdiff
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 381203a..35f1d00 100644
--- a/libbb/lineedit.c
+++ b/libbb/lineedit.c
@@ -736,7 +736,7 @@ static void exe_n_cwd_tab_completion(char *command, int type)
if (dirbuf[0] == '~') /* ~/... or ~user/... */
dirbuf = username_path_completion(dirbuf);
#endif
- paths[0] = dirbuf;
+ path1[0] = dirbuf;
}
for (i = 0; i < npaths; i++) {