diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-10-19 18:01:25 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-10-19 18:01:25 +0000 |
commit | ecb4fa8064fc2abc79ceed21f9c5ed3de22e6257 (patch) | |
tree | 884954b390154ba288a9fe61d2310ad2f9676fcf /ufs-fsck | |
parent | c454a90431c9ef451f30be2dcf594c0918c2f3c4 (diff) |
entered into RCS
Diffstat (limited to 'ufs-fsck')
-rw-r--r-- | ufs-fsck/utilities.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ufs-fsck/utilities.c b/ufs-fsck/utilities.c index 3914bf9c..e8475506 100644 --- a/ufs-fsck/utilities.c +++ b/ufs-fsck/utilities.c @@ -42,7 +42,7 @@ writeblock (daddr_t addr, void *buf, size_t size) if (lseek (writefd, addr * DEV_BSIZE, L_SET) == -1) errexit ("CANNOT SEEK TO BLOCK %ld", addr); if (write (writefd, buf, size) != size) - errexit ("CANNOT READ BLOCK %ld", addr); + errexit ("CANNOT WRITE BLOCK %ld", addr); fsmodified = 1; } |