summaryrefslogtreecommitdiffstats
path: root/src/io_redir.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2007-11-13 23:35:47 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2007-11-13 23:35:47 +0100
commit455ed826c8a213979aaa69b3af09181ce2b4706c (patch)
tree4338c17dc162d89c33f67251734af7a30eb6412d /src/io_redir.c
parentff5f9f09896f07758222d8149a36628a1e7c3388 (diff)
IO redirection for alt. superblock/bs is enabled before file listing
Diffstat (limited to 'src/io_redir.c')
-rw-r--r--src/io_redir.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/io_redir.c b/src/io_redir.c
index 3790443..e0cdf41 100644
--- a/src/io_redir.c
+++ b/src/io_redir.c
@@ -65,7 +65,11 @@ int io_redir_add_redir(disk_t *disk_car, const uint64_t org_offset, const unsign
struct info_io_redir*data=MALLOC(sizeof(*data));
disk_t *old_disk_car=MALLOC(sizeof(*old_disk_car));
#ifdef DEBUG_IO_REDIR
- log_trace("io_redir_add_redir: install functions\n");
+ log_trace("io_redir_add_redir: install functions org_offset=%llu, size=%u, new_offset=%llu, mem=%p\n",
+ (long long unsigned)org_offset,
+ size,
+ (long long unsigned)new_offset,
+ mem);
#endif
memcpy(old_disk_car,disk_car,sizeof(*old_disk_car));
data->disk_car=old_disk_car;
@@ -142,7 +146,7 @@ int io_redir_del_redir(disk_t *disk_car, uint64_t org_offset)
}
return 0;
}
- log_trace("io_redir_del_redir: redirection not found\n");
+ log_critical("io_redir_del_redir: redirection not found\n");
return 1;
}
}