Browse Source

common: common_funcs: Change R_UNLESS to LOG_ERROR.

pull/15/merge
bunnei 5 years ago
parent
commit
8d1afcb90f
  1. 2
      src/common/common_funcs.h

2
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; \
} \ } \

Loading…
Cancel
Save