From 8d1afcb90f59e000467466cd03e42f1488f5e44a Mon Sep 17 00:00:00 2001
From: bunnei <bunneidev@gmail.com>
Date: Thu, 28 Jan 2021 21:51:16 -0800
Subject: [PATCH] common: common_funcs: Change R_UNLESS to LOG_ERROR.

---
 src/common/common_funcs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/common_funcs.h b/src/common/common_funcs.h
index 71d136d4ae..71b64e32a3 100644
--- a/src/common/common_funcs.h
+++ b/src/common/common_funcs.h
@@ -98,7 +98,7 @@ __declspec(dllimport) void __stdcall DebugBreak(void);
     {                                                                                              \
         if (!(expr)) {                                                                             \
             if (res.IsError()) {                                                                   \
-                LOG_CRITICAL(Kernel, "Failed with error {}", res.raw);                             \
+                LOG_ERROR(Kernel, "Failed with result: {}", res.raw);                              \
             }                                                                                      \
             return res;                                                                            \
         }                                                                                          \