aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/odp_weak.c
diff options
context:
space:
mode:
Diffstat (limited to 'platform/linux-generic/odp_weak.c')
-rw-r--r--platform/linux-generic/odp_weak.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/platform/linux-generic/odp_weak.c b/platform/linux-generic/odp_weak.c
index 0fbf6645e..aab23b1ec 100644
--- a/platform/linux-generic/odp_weak.c
+++ b/platform/linux-generic/odp_weak.c
@@ -1,10 +1,7 @@
-/* Copyright (c) 2014, Linaro Limited
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2014-2018 Linaro Limited
*/
-#include <odp_internal.h>
#include <odp/api/debug.h>
#include <odp_debug_internal.h>
#include <odp/api/hints.h>
@@ -21,6 +18,7 @@ int odp_override_log(odp_log_level_t level, const char *fmt, ...)
switch (level) {
case ODP_LOG_ERR:
case ODP_LOG_UNIMPLEMENTED:
+ case ODP_LOG_WARN:
case ODP_LOG_ABORT:
logfd = stderr;
break;