aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
Diffstat (limited to 'libbb')
-rw-r--r--libbb/lineedit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c
index 9bf2f89a5..9220ddeb3 100644
--- a/libbb/lineedit.c
+++ b/libbb/lineedit.c
@@ -890,8 +890,8 @@ static unsigned path_parse(char ***p)
890 res[npth++] = tmp; 890 res[npth++] = tmp;
891 } 891 }
892 /* special case: "match subdirectories of the current directory" */ 892 /* special case: "match subdirectories of the current directory" */
893 /*res[npth++] = NULL; - filled by xzalloc() */ 893 /*res[npth] = NULL; - filled by xzalloc() */
894 return npth; 894 return npth + 1;
895} 895}
896 896
897/* Complete command, directory or file name. 897/* Complete command, directory or file name.