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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=78716
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));
}