From 64b139394813acb53ab2d0bb4714a92956cacca7 Mon Sep 17 00:00:00 2001 From: Andrey Borodin Date: Thu, 12 Mar 2020 13:44:55 +0500 Subject: [PATCH] Fix error recovery logging in od_frontend() (#133) --- sources/frontend.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/frontend.c b/sources/frontend.c index 47478fed..36e67289 100644 --- a/sources/frontend.c +++ b/sources/frontend.c @@ -884,12 +884,12 @@ od_frontend_cleanup(od_client_t *client, char *context, case OD_ATTACH: case OD_DETACH: od_error(&instance->logger, context, client, server, - "%s", "unexpected error status %s (%d)", od_status_to_str(status), (uint32)status); + "unexpected error status %s (%d)", od_status_to_str(status), (uint32)status); od_router_close(router, client); break; default: od_error(&instance->logger, context, client, server, - "%s", "unexpected error status %s (%d), possible corruption, abort()", od_status_to_str(status), (uint32)status); + "unexpected error status %s (%d), possible corruption, abort()", od_status_to_str(status), (uint32)status); abort(); } }