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 14eb16873..f4247d237 100644
--- a/libbb/lineedit.c
+++ b/libbb/lineedit.c
@@ -863,7 +863,7 @@ static NOINLINE unsigned complete_cmd_dir_file(const char *command, int type)
863 /* path is of form c:path with no '/' */ 863 /* path is of form c:path with no '/' */
864 if (get_drive_cwd(command, buffer, PATH_MAX)) { 864 if (get_drive_cwd(command, buffer, PATH_MAX)) {
865 pfind = command + 2; 865 pfind = command + 2;
866 path1[0] = xstrdup(buffer); 866 path1[0] = dirbuf = xstrdup(buffer);
867 } 867 }
868 } else 868 } else
869#endif 869#endif