diff options
author | dillon <dillon@FreeBSD.org> | 1999-01-27 23:45:44 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 1999-01-27 23:45:44 +0000 |
commit | f9a4729a9b5e134850841ee06d85b97bf66e749b (patch) | |
tree | e09f1712b3a4b92e9e060d46fecff5e8f5243354 /sys/fs | |
parent | c590848cf5d691aba15e5a6579fb75c5fbefab93 (diff) | |
download | FreeBSD-src-f9a4729a9b5e134850841ee06d85b97bf66e749b.zip FreeBSD-src-f9a4729a9b5e134850841ee06d85b97bf66e749b.tar.gz |
Fix warnings in preparation for adding -Wall -Wcast-qual to the
kernel compile.
This commit includes significant work to proper handle const arguments
for the DDB symbol routines.
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/cd9660/cd9660_vfsops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/cd9660/cd9660_vfsops.c b/sys/fs/cd9660/cd9660_vfsops.c index 9560c3f..c07b637 100644 --- a/sys/fs/cd9660/cd9660_vfsops.c +++ b/sys/fs/cd9660/cd9660_vfsops.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)cd9660_vfsops.c 8.18 (Berkeley) 5/22/95 - * $Id: cd9660_vfsops.c,v 1.47 1999/01/17 20:41:02 peter Exp $ + * $Id: cd9660_vfsops.c,v 1.48 1999/01/27 21:49:55 dillon Exp $ */ #include <sys/param.h> @@ -160,7 +160,7 @@ iso_mountroot(mp, p) if (bootverbose) printf("iso_mountroot(): using session at block %d\n", args.ssector); - if (error = iso_mountfs(rootvp, mp, p, &args)) + if ((error = iso_mountfs(rootvp, mp, p, &args)) != 0) return (error); (void)cd9660_statfs(mp, &mp->mnt_stat, p); |