+2000-11-21 <tytso@snap.thunk.org>
+
+ * test_io.c (test_write_blk, test_write_byte): Fix typos pointed
+ out by Andreas Dilger.
+
2000-11-05 <tytso@snap.thunk.org>
* imager.c (ext2fs_image_{inode,super,bitmap}_{read,write},
if (data->real)
retval = io_channel_write_blk(data->real, block, count, buf);
- if (data->write_byte)
- data->write_byte(block, count, retval);
+ if (data->write_blk)
+ data->write_blk(block, count, retval);
else
- printf("Test_io: write_byte(%lu, %d) returned %s\n",
+ printf("Test_io: write_blk(%lu, %d) returned %s\n",
block, count, retval ? error_message(retval) : "OK");
return retval;
}
if (data->write_byte)
data->write_byte(offset, count, retval);
else
- printf("Test_io: write_blk(%lu, %d) returned %s\n",
+ printf("Test_io: write_byte(%lu, %d) returned %s\n",
offset, count, retval ? error_message(retval) : "OK");
return retval;
}