Update of /cvsroot/oprofile/oprofile/utils
In directory sc8-pr-cvs1:/tmp/cvs-serv2449/utils
Modified Files:
op_help.c
Log Message:
minor cleanup in */tests/Makefile.am; add libop/tests/cpu_type_tests.c; libop/op_cpu_type.[hc] constification; utils/op_help.c: minor tidy
Index: op_help.c
===================================================================
RCS file: /cvsroot/oprofile/oprofile/utils/op_help.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -p -d -r1.42 -r1.43
--- op_help.c 10 Oct 2003 22:22:29 -0000 1.42
+++ op_help.c 11 Oct 2003 13:38:20 -0000 1.43
@@ -288,7 +288,7 @@ int main(int argc, char const *argv[])
cpu_type = op_get_cpu_type();
}
- if (cpu_type <= CPU_NO_GOOD || cpu_type >= MAX_CPU_TYPE) {
+ if (cpu_type == CPU_NO_GOOD) {
fprintf(stderr, "cpu_type '%s' is not valid\n", cpu_string);
exit(EXIT_FAILURE);
}
|