Silence warning and set WARNS=2.

Submitted by:	Mike Barcroft <mike@q9media.com>
Reviewed by:	md5(1)
This commit is contained in:
dd 2001-06-24 18:56:00 +00:00
parent 65ad0f0162
commit 953ac95a7d
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
# $FreeBSD$
PROG= lsvfs
WARNS?= 2
.include <bsd.prog.mk>

View File

@ -44,7 +44,7 @@ main(int argc, char **argv)
}
}
} else {
while (ovfcp = getvfsent()) {
while ((ovfcp = getvfsent()) != NULL) {
printf(FMT, ovfcp->vfc_name, ovfcp->vfc_refcount,
fmt_flags(ovfcp->vfc_flags));
}