summaryrefslogtreecommitdiffstats
path: root/gc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gc.c b/gc.c
index 40291021..212a8946 100644
--- a/gc.c
+++ b/gc.c
@@ -30,6 +30,7 @@
#include <assert.h>
#include <setjmp.h>
#include <dirent.h>
+#include <wchar.h>
#include "lib.h"
#include "stream.h"
#include "hash.h"
@@ -321,9 +322,9 @@ static void sweep(void)
continue;
if (0 && dbg) {
- fprintf(stderr, "%ls: finalizing: ", progname);
+ fwprintf(stderr, L"%ls: finalizing: ", progname);
obj_print(block, std_error);
- putc('\n', stderr);
+ putwc('\n', stderr);
}
finalize(block);
block->t.type |= FREE;