From c8ca222a5dfee03f5ac8ccaf1d1bbf8a45f0874c Mon Sep 17 00:00:00 2001 From: Andre Date: Tue, 14 Mar 2006 17:51:36 +0100 Subject: [PATCH 1/1] db.c: use PARA_STRERROR()... ... instead of logging the error number only. --- db.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db.c b/db.c index a1cc1aeb..26f82d4a 100644 --- a/db.c +++ b/db.c @@ -123,6 +123,6 @@ out: ret = -E_CHDIR; close(cwd_fd); if (ret < 0) - PARA_ERROR_LOG("ret = %x\n", -ret); + PARA_ERROR_LOG("%s\n", PARA_STRERROR(-ret)); return ret; } -- 2.39.2