Fix ver command

This commit is contained in:
Lorenz Meier 2014-11-15 19:43:11 +01:00
parent 488739cc46
commit ed0f28ed41
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ int ver_main(int argc, char *argv[])
}
/* check if we want to show all */
bool show_all = !strncmp(argv[1], sz_ver_all_str, sizeof(sz_ver_all_str))
bool show_all = !strncmp(argv[1], sz_ver_all_str, sizeof(sz_ver_all_str));
if (show_all || !strncmp(argv[1], sz_ver_hw_str, sizeof(sz_ver_hw_str))) {
printf("HW arch: %s\n", HW_ARCH);