summaryrefslogtreecommitdiff
path: root/include/asterisk/module.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk/module.h')
-rw-r--r--include/asterisk/module.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/module.h b/include/asterisk/module.h
index 80806de5e..0f8cd5036 100644
--- a/include/asterisk/module.h
+++ b/include/asterisk/module.h
@@ -336,7 +336,7 @@ void ast_unregister_atexit(void (*func)(void));
\
if (!(u=calloc(1,sizeof(*u)))) { \
ast_log(LOG_WARNING, "Out of memory\n"); \
- return ""; \
+ return -1; \
} \
ast_mutex_lock(&localuser_lock); \
u->chan = chan; \