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 | e543e20420ef268692133fef6722d640a9cd55e6 (patch) | |
| tree | f8530cea61e841adddedc40f67249d3b385c9f1f /ufs-fsck | |
| parent | f38cdf24f1f65e1e1ec8ac403f850d0217fff7a7 (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; } |
