From: John L. <le...@mo...> - 2003-03-15 16:55:33
|
On Sat, Mar 15, 2003 at 08:31:26AM -0800, Philippe Elie wrote: > - if (cpu_type < 0 || cpu_type >= MAX_CPU_TYPE) > + if (cpu_type < 0 || cpu_type >= MAX_CPU_TYPE) { > + fprintf(stderr, "cpu_type '%d' is not valid\n", cpu_type); > exit(EXIT_FAILURE); > - > + } You re-introduced silly output. We've already printf'd the error earlier - try op_help with an invalid CPU type. john |