aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorCraig Rodrigues <rodrigc@FreeBSD.org>2005-10-07 02:22:04 +0000
committerCraig Rodrigues <rodrigc@FreeBSD.org>2005-10-07 02:22:04 +0000
commitaedf10aca918f52a2775ccd181080a3a768c8989 (patch)
treedaf3d62ef224912f39cd020faad38db615b22438 /sbin
parente24dc56a221a481029e370679686566f0f1cbf7b (diff)
downloadsrc-aedf10aca918f52a2775ccd181080a3a768c8989.tar.gz
src-aedf10aca918f52a2775ccd181080a3a768c8989.zip
In prmount(), use an unsigned int variable to eliminate
'comparison between signed and unsigned' compiler warning.
Notes
Notes: svn path=/head/; revision=151043
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 b9b620db662b..d2f90be6642c 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;