fsck_lfs does not us fsutil.c; perhaps it should? revert to perror for now.
This commit is contained in:
parent
daed41efa2
commit
657e8b0071
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: lfs.c,v 1.22 2006/06/05 16:53:14 christos Exp $ */
|
/* $NetBSD: lfs.c,v 1.23 2006/06/05 23:27:36 christos Exp $ */
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2003 The NetBSD Foundation, Inc.
|
* Copyright (c) 2003 The NetBSD Foundation, Inc.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
@ -128,7 +128,7 @@ lfs_vop_strategy(struct ubuf * bp)
|
|||||||
count = pwrite(bp->b_vp->v_fd, bp->b_data, bp->b_bcount,
|
count = pwrite(bp->b_vp->v_fd, bp->b_data, bp->b_bcount,
|
||||||
dbtob(bp->b_blkno));
|
dbtob(bp->b_blkno));
|
||||||
if (count == 0) {
|
if (count == 0) {
|
||||||
perr("pwrite");
|
perror("pwrite");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
bp->b_flags &= ~B_DELWRI;
|
bp->b_flags &= ~B_DELWRI;
|
||||||
|
Loading…
Reference in New Issue
Block a user