From 657e8b007199574c49670da8b019271e56e7c8d4 Mon Sep 17 00:00:00 2001 From: christos Date: Mon, 5 Jun 2006 23:27:36 +0000 Subject: [PATCH] fsck_lfs does not us fsutil.c; perhaps it should? revert to perror for now. --- sbin/fsck_lfs/lfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbin/fsck_lfs/lfs.c b/sbin/fsck_lfs/lfs.c index 4aa934cd517e..659008d11d02 100644 --- a/sbin/fsck_lfs/lfs.c +++ b/sbin/fsck_lfs/lfs.c @@ -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. * 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, dbtob(bp->b_blkno)); if (count == 0) { - perr("pwrite"); + perror("pwrite"); return -1; } bp->b_flags &= ~B_DELWRI;