mirror of
https://git.freebsd.org/src.git
synced 2026-01-11 19:57:22 +00:00
find: fix pathnames printed by the SIGINFO handler
Don't duplicate the last component.
PR: 290362
Reported by: John F. Carr <jfc@mit.edu>
Fixes: d06a00963b
MFC after: 3 days
Reviewed by: jilles, Goran Mekić <meka@tilda.center>
Pull Request: https://github.com/freebsd/freebsd-src/pull/1878
This commit is contained in:
parent
af445e1dd9
commit
f6d767fe86
1 changed files with 1 additions and 1 deletions
|
|
@ -211,7 +211,7 @@ find_execute(PLAN *plan, char *paths[])
|
|||
}
|
||||
|
||||
if (showinfo) {
|
||||
fprintf(stderr, "Scanning: %s/%s\n", entry->fts_path, entry->fts_name);
|
||||
fprintf(stderr, "Scanning: %s\n", entry->fts_path);
|
||||
fprintf(stderr, "Scanned: %zu\n\n", counter);
|
||||
showinfo = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue