diff options
-rw-r--r-- | ls-files.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ls-files.c b/ls-files.c index a716e5fad2..df93cf2263 100644 --- a/ls-files.c +++ b/ls-files.c @@ -757,7 +757,7 @@ int main(int argc, const char **argv) if (ps_matched[num]) continue; error("pathspec '%s' did not match any.", - pathspec[num] + prefix_len); + pathspec[num] + prefix_offset); } return errors ? 1 : 0; } |