From 999ac7532437aa8b83faeebcd19484a4a1f2ca4d Mon Sep 17 00:00:00 2001 From: eventlOwOp <3064273390@qq.com> Date: Sat, 5 Apr 2025 17:59:55 +0800 Subject: [PATCH] [fix] typo --- build/patch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/patch.py b/build/patch.py index 6a9195f..8c90cf9 100644 --- a/build/patch.py +++ b/build/patch.py @@ -35,7 +35,7 @@ linux_tap_path = 'ZeroTierOne/osdep/LinuxEthernetTap.cpp' linux_tap_match1 = 'int rc = pthread_setaffinity_np(self, sizeof(cpu_set_t), &cpuset);' linux_tap_replace1 = 'int rc = sched_setaffinity(pthread_gettid_np(self), sizeof(cpu_set_t), &cpuset);' -linxu_tap_match2 = '#include ' +linux_tap_match2 = '#include ' linux_tap_replace2 = '#include \n#include ' with open(linux_tap_path, 'r') as file: