summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorrodrigc <rodrigc@FreeBSD.org>2005-10-07 02:22:04 +0000
committerrodrigc <rodrigc@FreeBSD.org>2005-10-07 02:22:04 +0000
commit0b8c3193e12c45496e31e4654228f365613a55de (patch)
treedaf3d62ef224912f39cd020faad38db615b22438 /sbin
parent8ed272b3a67dc18324e8a83f2b65d5c67d5fc1fb (diff)
downloadFreeBSD-src-0b8c3193e12c45496e31e4654228f365613a55de.zip
FreeBSD-src-0b8c3193e12c45496e31e4654228f365613a55de.tar.gz
In prmount(), use an unsigned int variable to eliminate
'comparison between signed and unsigned' compiler warning.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/mount/mount.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c
index b9b620d..d2f90be 100644
--- a/sbin/mount/mount.c
+++ b/sbin/mount/mount.c
@@ -499,7 +499,8 @@ mountfs(const char *vfstype, const char *spec, const char *name, int flags,
void
prmount(struct statfs *sfp)
{
- int flags, i;
+ int flags;
+ unsigned int i;
struct opt *o;
struct passwd *pw;
OpenPOWER on IntegriCloud