diff options
author | Miles Bader <miles@gnu.org> | 1995-05-08 15:00:28 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-05-08 15:00:28 +0000 |
commit | 6920054ae2e688fc9c5b148d77cb661d42ae871f (patch) | |
tree | c3cc504753ed794a0639caadc87ec01966983428 /ext2fs | |
parent | 3f488354c3c976851f905b43d3dc3f95fcc9d8e7 (diff) |
Formerly devio.c.~8~
Diffstat (limited to 'ext2fs')
-rw-r--r-- | ext2fs/devio.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext2fs/devio.c b/ext2fs/devio.c index f9ed06f4..d7175914 100644 --- a/ext2fs/devio.c +++ b/ext2fs/devio.c @@ -29,6 +29,9 @@ dev_write_sync (block_t addr, vm_address_t data, long len) { int written; assert (!diskfs_readonly); + if (addr <= 8 && addr + (len >> 9) > 8) + printf ("dev_write_sync: Writing %ld bytes at disk block %d: 0x%08lx...\n", + len, addr, *(unsigned long *)data); if (device_write (device_port, 0, addr, (io_buf_ptr_t) data, len, &written) || written != len) return EIO; |