summaryrefslogtreecommitdiff
path: root/common/elapi/elapi_log.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/elapi/elapi_log.c')
-rw-r--r--common/elapi/elapi_log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/elapi/elapi_log.c b/common/elapi/elapi_log.c
index 1d1bfa05..aac1e00d 100644
--- a/common/elapi/elapi_log.c
+++ b/common/elapi/elapi_log.c
@@ -411,7 +411,7 @@ int elapi_get_default_template(struct collection_item **template)
(global_dispatcher->default_template == NULL)) {
TRACE_INFO_STRING("Default template does not exit", "");
- error = elapi_set_default_template(E_BASE_DEFV1);
+ error = elapi_set_default_template(E_BASE_DEFV1, E_EOARG);
if (error) {
TRACE_ERROR_NUMBER("Set default template returned error", error);
return error;