Skip to content

Commit b9e6f33

Browse files
adicatanafacebook-github-bot
authored andcommitted
Fix format string error in Android PAL initialization assert macro (pytorch#14119)
Summary: The `__android_log_print` call had an extra `"%s"` format specifier that wasn't matched by the provided arguments, causing `-Werror,-Wformat-extra-args` compilation failures. Reviewed By: smeenai Differential Revision: D81949537
1 parent eec95d0 commit b9e6f33

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

runtime/platform/default/android.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
__android_log_print( \
4747
ANDROID_LOG_FATAL, \
4848
"ExecuTorch", \
49-
"%s", \
5049
"ExecuTorch PAL must be initialized before call to %s()", \
5150
ET_FUNCTION); \
5251
} \

0 commit comments

Comments
 (0)