diff --git a/usr.sbin/snapinfo/snapinfo.c b/usr.sbin/snapinfo/snapinfo.c index 55b54a546b26..3ee66da9317a 100644 --- a/usr.sbin/snapinfo/snapinfo.c +++ b/usr.sbin/snapinfo/snapinfo.c @@ -140,7 +140,7 @@ find_snapshot(struct statfs *sfs) int compare_function(const char *path, const struct stat *st, int flags, -struct FTW * ftwv) + struct FTW * ftwv __unused) { if (flags == FTW_F && st->st_ino == inode) {