aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
Diffstat (limited to 'libbb')
-rw-r--r--libbb/lineedit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c
index 381203a22..35f1d0031 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++) {