summaryrefslogtreecommitdiffstats
path: root/lib/libufs
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2003-03-30 18:00:24 +0000
committerjmallett <jmallett@FreeBSD.org>2003-03-30 18:00:24 +0000
commit17460ae6f38602104fac0166923723fb78310c3d (patch)
tree74267caa7e2706bdc3e20be5936d30b8abafd61c /lib/libufs
parentc5a4cda5044b6f3068c26b1ff82d11c38646d366 (diff)
downloadFreeBSD-src-17460ae6f38602104fac0166923723fb78310c3d.zip
FreeBSD-src-17460ae6f38602104fac0166923723fb78310c3d.tar.gz
MFp4: Fix copy&paste English error.
Diffstat (limited to 'lib/libufs')
-rw-r--r--lib/libufs/block.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libufs/block.c b/lib/libufs/block.c
index 5c019d4..703165d 100644
--- a/lib/libufs/block.c
+++ b/lib/libufs/block.c
@@ -92,7 +92,7 @@ bwrite(struct uufsd *disk, ufs2_daddr_t blockno, const void *data, size_t size)
cnt = pwrite(disk->d_fd, data, size, (off_t)(blockno * disk->d_bsize));
if (cnt == -1) {
- ERROR(disk, "read write to block device");
+ ERROR(disk, "write error to block device");
return -1;
}
if ((size_t)cnt != size) {
OpenPOWER on IntegriCloud