From: Chirag J. <ch...@li...> - 2008-03-19 04:29:59
|
* Gilles Carry <gil...@bu...> [2008-03-18 11:13:16]: Acked-by: Chirag <ch...@li...> > Signed-off-by: Gilles Carry <gil...@bu...> > Cc: Darren Hart <dv...@us...> > Cc: Tim Chavez <ti...@us...> > --- > .../func/periodic_cpu_load/periodic_cpu_load.c | 24 ++++++++++---------- > 1 files changed, 12 insertions(+), 12 deletions(-) > > diff --git a/testcases/realtime/func/periodic_cpu_load/periodic_cpu_load.c b/testcases/realtime/func/periodic_cpu_load/periodic_cpu_load.c > index 36d3595..b8c7b53 100644 > --- a/testcases/realtime/func/periodic_cpu_load/periodic_cpu_load.c > +++ b/testcases/realtime/func/periodic_cpu_load/periodic_cpu_load.c > @@ -82,19 +82,19 @@ void usage(void) > > int parse_args(int c, char *v) > { > - int handled = 1; > - switch (c) { > - case 'j': > - run_jvmsim = 1; > - break; > - case 'h': > + int handled = 1; > + switch (c) { > + case 'j': > + run_jvmsim = 1; > + break; > + case 'h': > usage(); > - exit(0); > - default: > - handled = 0; > - break; > - } > - return handled; > + exit(0); > + default: > + handled = 0; > + break; > + } > + return handled; > } > > > -- > 1.5.4.3.450.gb92176 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Ltp-list mailing list > Ltp...@li... > https://lists.sourceforge.net/lists/listinfo/ltp-list -- Cheers, Chirag Jog |