aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/log.c b/common/log.c
index 9f98e9a..f1de922 100644
--- a/common/log.c
+++ b/common/log.c
@@ -294,7 +294,7 @@ int log_add_filter(const char *drv_name, enum log_category_t cat_list[],
if (file_list) {
filt->file_list = strdup(file_list);
if (!filt->file_list) {
- ret = ENOMEM;
+ ret = -ENOMEM;
goto err;
}
}