Silence warning and set WARNS=2.
Submitted by: Mike Barcroft <mike@q9media.com> Reviewed by: md5(1)
This commit is contained in:
parent
65ad0f0162
commit
953ac95a7d
@ -1,4 +1,5 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
PROG= lsvfs
|
PROG= lsvfs
|
||||||
|
WARNS?= 2
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
@ -44,7 +44,7 @@ main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
while (ovfcp = getvfsent()) {
|
while ((ovfcp = getvfsent()) != NULL) {
|
||||||
printf(FMT, ovfcp->vfc_name, ovfcp->vfc_refcount,
|
printf(FMT, ovfcp->vfc_name, ovfcp->vfc_refcount,
|
||||||
fmt_flags(ovfcp->vfc_flags));
|
fmt_flags(ovfcp->vfc_flags));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user