diff options
author | Simon Marlow <marlowsd@gmail.com> | 2013-09-04 11:00:12 +0100 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2013-09-04 11:11:10 +0100 |
commit | 356f793917439c37c140e3e76963e2f0e391dc64 (patch) | |
tree | f65a5fa1e53352d01fc1651765abee043a64dbb6 /rts/CheckUnload.c | |
parent | aa779e092c4f4d6a6691f3a4fc4074e6359337f8 (diff) | |
download | haskell-356f793917439c37c140e3e76963e2f0e391dc64.tar.gz |
Fix printf formats for pathchar on Windows (where it's wchar_t, not char)
Diffstat (limited to 'rts/CheckUnload.c')
-rw-r--r-- | rts/CheckUnload.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rts/CheckUnload.c b/rts/CheckUnload.c index a758b06db3..0485ed4887 100644 --- a/rts/CheckUnload.c +++ b/rts/CheckUnload.c @@ -254,7 +254,7 @@ void checkUnload (StgClosure *static_objects) // Mark every unloadable object as unreferenced initially for (oc = unloaded_objects; oc; oc = oc->next) { - IF_DEBUG(linker, debugBelch("Checking whether to unload %s\n", + IF_DEBUG(linker, debugBelch("Checking whether to unload %" PATH_FMT "\n", oc->fileName)); oc->referenced = rtsFalse; } @@ -290,12 +290,12 @@ void checkUnload (StgClosure *static_objects) } else { prev->next = oc->next; } - IF_DEBUG(linker, debugBelch("Unloading object file %s\n", + IF_DEBUG(linker, debugBelch("Unloading object file %" PATH_FMT "\n", oc->fileName)); freeObjectCode(oc); } else { - IF_DEBUG(linker, debugBelch("Object file still in use: %s\n", - oc->fileName)); + IF_DEBUG(linker, debugBelch("Object file still in use: %" + PATH_FMT "\n", oc->fileName)); } } |