summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Żenczykowski <maze@google.com>2021-05-24 23:56:06 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-05-24 23:56:06 +0000
commitfc592e8bc0e7cb0b6a22354a47f4128cd23bbbcb (patch)
tree6c1ca79ce4fded6edb06c6574348cf7cc098da18
parente107f26c5d00790ed7f73cea1c900a3cb407b506 (diff)
parent86f56a135a7f04f6217016bd8b4c5f1ac0677a85 (diff)
Merge "Fix memory access violation in NetworkStack"
-rw-r--r--Tethering/jni/com_android_networkstack_tethering_BpfUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tethering/jni/com_android_networkstack_tethering_BpfUtils.cpp b/Tethering/jni/com_android_networkstack_tethering_BpfUtils.cpp
index 1611f9d514..2fb59858e4 100644
--- a/Tethering/jni/com_android_networkstack_tethering_BpfUtils.cpp
+++ b/Tethering/jni/com_android_networkstack_tethering_BpfUtils.cpp
@@ -183,7 +183,7 @@ static jboolean com_android_networkstack_tethering_BpfUtils_isEthernet(JNIEnv* e
return false;
default:
jniThrowExceptionFmt(env, "java/io/IOException",
- "Unknown hardware address type %s on interface %s", rv,
+ "Unknown hardware address type %d on interface %s", rv,
interface.c_str());
return false;
}