Silence warning and set WARNS=2.

Submitted by:	Mike Barcroft <mike@q9media.com>
Reviewed by:	md5(1)
This commit is contained in:
Dima Dorfman 2001-06-24 18:56:00 +00:00
parent 0e304b4853
commit 471caa34a4
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));
}