fix arm64e detection

This commit is contained in:
Nick Chan committed 2024-09-22 21:28:07 +08:00
1 parent fdc554b3c2
commit bb46df31e6
1 file changed
+1 -1
+1 -1
View File
@@ -67,7 +67,7 @@ int connected_normal_mode(const usbmuxd_device_info_t *usbmuxd_device) {
LOG(LOG_ERROR, "Unable to get device information"); LOG(LOG_ERROR, "Unable to get device information");
return 0; return 0;
} }
if (strncmp(dev.CPUArchitecture, "arm64", strlen("arm64"))) { if (strcmp(dev.CPUArchitecture, "arm64")) {
devinfo_free(&dev); devinfo_free(&dev);
LOG(LOG_WARNING, "Ignoring non-arm64 device..."); LOG(LOG_WARNING, "Ignoring non-arm64 device...");
LOG(LOG_WARNING, "palera1n doesn't and never will work on A12+ (arm64e)"); LOG(LOG_WARNING, "palera1n doesn't and never will work on A12+ (arm64e)");