diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1998-03-01 08:07:14 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1998-03-01 08:07:14 +0000 |
commit | f5453d38ba59699d5d7a2b1cc5c47d6c73b5d0b4 (patch) | |
tree | e872f6a3b7b2f9afa7ae181642492377f631e3f2 /sys/ufs/ext2fs/ext2fs_readwrite.c | |
parent | 6bca9dd927b141effd87900940cd8b5fc36cb942 (diff) |
GCC 2.8 -Wall
Diffstat (limited to 'sys/ufs/ext2fs/ext2fs_readwrite.c')
-rw-r--r-- | sys/ufs/ext2fs/ext2fs_readwrite.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ufs/ext2fs/ext2fs_readwrite.c b/sys/ufs/ext2fs/ext2fs_readwrite.c index dc9325b5f6d..d586f69a3bd 100644 --- a/sys/ufs/ext2fs/ext2fs_readwrite.c +++ b/sys/ufs/ext2fs/ext2fs_readwrite.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ext2fs_readwrite.c,v 1.3 1997/06/12 21:09:34 downsj Exp $ */ +/* $OpenBSD: ext2fs_readwrite.c,v 1.4 1998/03/01 08:07:09 niklas Exp $ */ /* $NetBSD: ext2fs_readwrite.c,v 1.1 1997/06/11 09:34:01 bouyer Exp $ */ /*- @@ -268,12 +268,12 @@ ext2fs_write(v) uiomove((char *)bp->b_data + blkoffset, (int)xfersize, uio); if (ioflag & IO_SYNC) (void)bwrite(bp); - else if (xfersize + blkoffset == fs->e2fs_bsize) + else if (xfersize + blkoffset == fs->e2fs_bsize) { if (doclusterwrite) cluster_write(bp, ip->i_e2fs_size); else bawrite(bp); - else + } else bdwrite(bp); if (error || xfersize == 0) break; |