From: Philippe E. <ph...@us...> - 2002-03-20 21:19:46
|
Update of /cvsroot/oprofile/oprofile/events In directory usw-pr-cvs1:/tmp/cvs-serv1934/oprofile/events Modified Files: op_events_desc.c Log Message: util/*.h more doxygen comment - fix some exit(EXIT_FAILURE)exit Index: op_events_desc.c =================================================================== RCS file: /cvsroot/oprofile/oprofile/events/op_events_desc.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- op_events_desc.c 10 Feb 2002 20:22:56 -0000 1.7 +++ op_events_desc.c 20 Mar 2002 21:19:42 -0000 1.8 @@ -27,7 +27,7 @@ #include "../op_user.h" /** - * op_get_cpu_type - get from /proc/cpuinfo the cpu type + * op_get_cpu_type - get from /proc/sys/dev/oprofile/cpu_type the cpu type * * returns CPU_NO_GOOD if the CPU could not be identified */ @@ -290,6 +290,6 @@ if (!*typenamep) { fprintf(stderr,"op_get_event_desc: no such event 0x%.2x\n",type); - exit(1); + exit(EXIT_FAILURE); } } |