summaryrefslogtreecommitdiff
path: root/lib/intercept
diff options
context:
space:
mode:
Diffstat (limited to 'lib/intercept')
-rw-r--r--lib/intercept/intercept.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/intercept/intercept.cpp b/lib/intercept/intercept.cpp
index bbcb740e..65514ae2 100644
--- a/lib/intercept/intercept.cpp
+++ b/lib/intercept/intercept.cpp
@@ -375,12 +375,12 @@ void intercept_setup_readdir_hook(const char *dirname, readdir_t hookfn)
if (hookfn != NULL)
{
- BOX_TRACE("readdir hooked to " << hookfn << " for " << dirname);
+ TRACE2("readdir hooked to %p for %s\n", hookfn, dirname);
}
else if (intercept_filename != NULL)
{
- BOX_TRACE("readdir unhooked from " << readdir_hook <<
- " for " << intercept_filename);
+ TRACE2("readdir unhooked from %p for %s\n", readdir_hook,
+ intercept_filename);
}
intercept_filename = dirname;
@@ -392,11 +392,11 @@ void intercept_setup_lstat_hook(const char *filename, lstat_t hookfn)
/*
if (hookfn != NULL)
{
- BOX_TRACE("lstat hooked to " << hookfn << " for " << filename);
+ TRACE2("lstat hooked to %p for %s\n", hookfn, filename);
}
else
{
- BOX_TRACE("lstat unhooked from " << lstat_hook << " for " <<
+ TRACE2("lstat unhooked from %p for %s\n", lstat_hook,
lstat_file);
}
*/