// model, if specified, matches the machine
// - 1 the machine does not provide the asked-for feature or the
// cpu model, if specified, does not match the machine
+// - 1 for an unknown cpu model in /proc/cpu_info
// - 2 if the asked-for feature isn't recognised (this will be the case for
// any feature if run on a non-s390x machine).
-// - 2 for an unknown cpu model in /proc/cpu_info
// - 3 if there was a usage error (it also prints an error message).
//
// USAGE:
{ "2097", "z10-ec" },
{ "2098", "z10-bc" },
{ "2817", "z196" },
+ { "2818", "z114" },
};
if (cpu == NULL) return 0;
host = get_host();
- if (host == NULL) return 2; // unknown model
+ if (host == NULL) return 1; // unknown model
// printf("host = %s (%s)\n", host->cpuinfo_name, host->real_name);