Преглед изворни кода

common: common_funcs: Change R_UNLESS to LOG_ERROR.

bunnei пре 5 година
родитељ
комит
8d1afcb90f
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/common/common_funcs.h

+ 1 - 1
src/common/common_funcs.h

@@ -98,7 +98,7 @@ __declspec(dllimport) void __stdcall DebugBreak(void);
     {                                                                                              \
     {                                                                                              \
         if (!(expr)) {                                                                             \
         if (!(expr)) {                                                                             \
             if (res.IsError()) {                                                                   \
             if (res.IsError()) {                                                                   \
-                LOG_CRITICAL(Kernel, "Failed with error {}", res.raw);                             \
+                LOG_ERROR(Kernel, "Failed with result: {}", res.raw);                              \
             }                                                                                      \
             }                                                                                      \
             return res;                                                                            \
             return res;                                                                            \
         }                                                                                          \
         }                                                                                          \