make style

This commit is contained in:
Philippe Teuwen committed 2022-02-17 01:43:41 +01:00
1 parent 0ed0735709
commit 2a705d3a44
2 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -1077,7 +1077,7 @@ void pm3_version(bool verbose, bool oneliner) {
if (ptr != NULL) {
ptr = strstr(ptr, "\n");
if ((ptr != NULL) && (strlen(g_version_information.armsrc) == 9)) {
if (strncmp(ptr-9, g_version_information.armsrc, 9) != 0) {
if (strncmp(ptr - 9, g_version_information.armsrc, 9) != 0) {
armsrc_mismatch = true;
}
}