Skip to content

Commit d70f6ad

Browse files
committed
lint
1 parent 8c9c16e commit d70f6ad

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

runtime/platform/default/android.cpp

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,12 @@
4343
#define _ASSERT_PAL_INITIALIZED() \
4444
do { \
4545
if (!initialized) { \
46-
__android_log_print(FATAL, "ExecuTorch", "%s", \
47-
"ExecuTorch PAL must be initialized before call to %s()", \
48-
ET_FUNCTION); \
46+
__android_log_print( \
47+
ANDROID_LOG_FATAL, \
48+
"ExecuTorch", \
49+
"%s", \
50+
"ExecuTorch PAL must be initialized before call to %s()", \
51+
ET_FUNCTION); \
4952
} \
5053
} while (0)
5154

@@ -134,7 +137,7 @@ et_tick_ratio_t et_pal_ticks_to_ns_multiplier(void) {
134137
#pragma weak et_pal_emit_log_message
135138
#endif // _MSC_VER
136139
void et_pal_emit_log_message(
137-
ET_UNUSED et_timestamp_t timestamp,
140+
ET_UNUSED et_timestamp_t timestamp,
138141
et_pal_log_level_t level,
139142
ET_UNUSED const char* filename,
140143
ET_UNUSED const char* function,

0 commit comments

Comments
 (0)