X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=db.c;h=26f82d4a26d2ebbeb94be0f05a176df98692f4d9;hp=a1cc1aebc09e18c01d2685919bd6c407447d4c8b;hb=c8ca222a5dfee03f5ac8ccaf1d1bbf8a45f0874c;hpb=3e514007f72825597eaf68ff33339a8eb0ad420b 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; }