From 7a8bf8a210825d2a45a066c04378670833ea7171 Mon Sep 17 00:00:00 2001 From: Pavel Charvat Date: Sun, 4 Feb 2018 09:38:30 +0100 Subject: [PATCH] Fastbuf: Fixed compilation with LOCAL_DEBUG. --- ucw/fastbuf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ucw/fastbuf.c b/ucw/fastbuf.c index 22501f43..476221af 100644 --- a/ucw/fastbuf.c +++ b/ucw/fastbuf.c @@ -24,7 +24,7 @@ void bclose(struct fastbuf *f) { bflush(f); res_detach(f->res); - DBG("FB: closing", f); + DBG("FB: closing"); if (f->close) f->close(f); /* Should always free all internal resources, even if it throws an exception */ } @@ -32,9 +32,9 @@ void bclose(struct fastbuf *f) void NONRET bthrow(struct fastbuf *f, const char *id, const char *fmt, ...) { - DBG("FB: throwing %s", full_id); char full_id[16]; snprintf(full_id, sizeof(full_id), "ucw.fb.%s", id); + DBG("FB: throwing %s", full_id); ASSERT(!(f->flags & FB_DEAD)); /* Only one bthrow() is allowed before bclose() */ va_list args; va_start(args, fmt); -- 2.39.2