diff options
-rw-r--r-- | usr.bin/tar/matching.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/tar/matching.c b/usr.bin/tar/matching.c index 03cd050..2e146fe 100644 --- a/usr.bin/tar/matching.c +++ b/usr.bin/tar/matching.c @@ -313,7 +313,7 @@ pathmatch(const char *pattern, const char *string) while (string[0] == '/') ++string; } - return (bsdtar_fnmatch(pattern, string, FNM_LEADING_DIR)); + return (bsdtar_fnmatch(pattern, string)); } |