From ef9d463bd78e9d1ed094fc5409f18f1d6648ccd8 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Thu, 8 Nov 2018 06:07:02 -0500 Subject: [PATCH] Fix PLOGE --- native/jni/utils/include/logging.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/jni/utils/include/logging.h b/native/jni/utils/include/logging.h index b7f9f4b58..5675b5d78 100644 --- a/native/jni/utils/include/logging.h +++ b/native/jni/utils/include/logging.h @@ -35,7 +35,7 @@ extern struct log_callback log_cb; #define LOGI(...) log_handler(L_INFO, __VA_ARGS__) #define LOGW(...) log_handler(L_WARN, __VA_ARGS__) #define LOGE(...) log_handler(L_ERR, __VA_ARGS__) -#define PLOGE(fmt, args...) LOGE(fmt " failed with %d: %s", ##args, errno, strerror(errno)) +#define PLOGE(fmt, args...) LOGE(fmt " failed with %d: %s\n", ##args, errno, strerror(errno)) int nop_log(const char *fmt, va_list ap); void nop_ex(int i);