From 6920054ae2e688fc9c5b148d77cb661d42ae871f Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Mon, 8 May 1995 15:00:28 +0000 Subject: Formerly devio.c.~8~ --- ext2fs/devio.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- cgit v1.2.3