diff options
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; } |