diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2007-01-06 23:30:43 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2007-01-06 23:30:43 +0000 |
commit | 09639b2939765b5d8d5be9ef6c684c6e218dfbbb (patch) | |
tree | a3ac433876f13c2bb3842d4d1df6093d1de1ea71 /sys/ufs/ffs/ffs_subr.c | |
parent | 4213d84cbcb473d6375e7011f8f1e33513cc3245 (diff) |
stop printing messages when changing space/time optimizations.
it's not all that important, and mostly seems to just scare people.
ok pedro henning thib ...
also remove dumb casts.
Diffstat (limited to 'sys/ufs/ffs/ffs_subr.c')
-rw-r--r-- | sys/ufs/ffs/ffs_subr.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/ufs/ffs/ffs_subr.c b/sys/ufs/ffs/ffs_subr.c index e41c52218c7..3a6d55d89bd 100644 --- a/sys/ufs/ffs/ffs_subr.c +++ b/sys/ufs/ffs/ffs_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ffs_subr.c,v 1.18 2006/06/17 16:30:58 miod Exp $ */ +/* $OpenBSD: ffs_subr.c,v 1.19 2007/01/06 23:30:42 tedu Exp $ */ /* $NetBSD: ffs_subr.c,v 1.6 1996/03/17 02:16:23 christos Exp $ */ /* @@ -160,7 +160,7 @@ ffs_isblock(struct fs *fs, unsigned char *cp, daddr_t h) { unsigned char mask; - switch ((int)fs->fs_frag) { + switch (fs->fs_frag) { default: case 8: return (cp[h] == 0xff); @@ -183,7 +183,7 @@ void ffs_clrblock(struct fs *fs, u_char *cp, daddr_t h) { - switch ((int)fs->fs_frag) { + switch (fs->fs_frag) { default: case 8: cp[h] = 0; @@ -207,7 +207,7 @@ void ffs_setblock(struct fs *fs, unsigned char *cp, daddr_t h) { - switch ((int)fs->fs_frag) { + switch (fs->fs_frag) { default: case 8: cp[h] = 0xff; @@ -231,7 +231,7 @@ int ffs_isfreeblock(struct fs *fs, unsigned char *cp, daddr_t h) { - switch ((int)fs->fs_frag) { + switch (fs->fs_frag) { default: case 8: return (cp[h] == 0); |