diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2005-10-07 02:22:04 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2005-10-07 02:22:04 +0000 |
commit | 0b8c3193e12c45496e31e4654228f365613a55de (patch) | |
tree | daf3d62ef224912f39cd020faad38db615b22438 /sbin | |
parent | 8ed272b3a67dc18324e8a83f2b65d5c67d5fc1fb (diff) | |
download | FreeBSD-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.c | 3 |
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; |