summaryrefslogtreecommitdiff
path: root/lib/intercept
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2008-04-04 21:59:29 +0000
committerChris Wilson <chris+github@qwirx.com>2008-04-04 21:59:29 +0000
commit3661f3624acc46590d5504fda4f8714255fb2c8e (patch)
treee2cd17e19718d3f46944979a23e4c93dcf92584b /lib/intercept
parent2f8d0c29536cdb306b525b78638727da4ead0022 (diff)
Tailorization
Import of the upstream sources from Repository: http://localhost:8000/ Kind: hg Revision: 7807b7768163f1c2537756abe5416063989cebb1 Original author: tailor@rocio.int.aidworld.org Date: 2008-03-16 19:44:36+00:00
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);
}
*/