more debugging
authorFelix Fietkau <nbd@openwrt.org>
Tue, 12 Feb 2008 10:49:41 +0000 (11:49 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 12 Feb 2008 10:49:41 +0000 (11:49 +0100)
err.h

diff --git a/err.h b/err.h
index 686cde354b5d24fc3886c27a6ca217f3e0815106..e8b977bc45f2735c8e2057b32eeeeb1d85834004 100644 (file)
--- a/err.h
+++ b/err.h
@@ -50,6 +50,7 @@
                __val = setjmp(ctx->trap); \
        ctx->internal = false;          \
        if (__val) {                    \
+               DPRINTF("LEAVE: %s, ret=%d\n", __func__, __val); \
                ctx->errno = __val;     \
                return __val;           \
        }                               \