diff --git a/src/dfuhelper.c b/src/dfuhelper.c index 44f263d..fe47b48 100644 --- a/src/dfuhelper.c +++ b/src/dfuhelper.c @@ -67,7 +67,7 @@ int connected_normal_mode(const usbmuxd_device_info_t *usbmuxd_device) { LOG(LOG_ERROR, "Unable to get device information"); return 0; } - if (strncmp(dev.CPUArchitecture, "arm64", strlen("arm64"))) { + if (strcmp(dev.CPUArchitecture, "arm64")) { devinfo_free(&dev); LOG(LOG_WARNING, "Ignoring non-arm64 device..."); LOG(LOG_WARNING, "palera1n doesn't and never will work on A12+ (arm64e)");