ortp_send: Fix EOF packet sending
[paraslash.git] / db.c
diff --git a/db.c b/db.c
index a1cc1aebc09e18c01d2685919bd6c407447d4c8b..26f82d4a26d2ebbeb94be0f05a176df98692f4d9 100644 (file)
--- 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;
 }