summaryrefslogtreecommitdiff
path: root/fuse_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'fuse_i.h')
-rw-r--r--fuse_i.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fuse_i.h b/fuse_i.h
index a4db95952..54ad242c6 100644
--- a/fuse_i.h
+++ b/fuse_i.h
@@ -138,8 +138,8 @@ extern FILE *debug_port;
#define FUNC_RETURN_(ret, fmt) \
{ \
int retval = (ret); \
- DEBUG("tracing", "leaving %s (" __FILE__ ":%d) ret=%d ", \
- debug_func_name, __LINE__, retval); \
+ DEBUG("tracing", "leaving %s (" __FILE__ ":%d) ret=%d (%s) ", \
+ debug_func_name, __LINE__, retval, strerror(retval)); \
if(debug_port) \
{ \
fmt; \