Signed-off-by: Gilles Carry <[EMAIL PROTECTED]>
Cc: Darren Hart <[EMAIL PROTECTED]>
Cc: Tim Chavez <[EMAIL PROTECTED]>
---
 testcases/realtime/func/thread_clock/tc-2.c |   39 +++++++++++++--------------
 1 files changed, 19 insertions(+), 20 deletions(-)

diff --git a/testcases/realtime/func/thread_clock/tc-2.c 
b/testcases/realtime/func/thread_clock/tc-2.c
index 56bc7b1..936413d 100644
--- a/testcases/realtime/func/thread_clock/tc-2.c
+++ b/testcases/realtime/func/thread_clock/tc-2.c
@@ -63,27 +63,26 @@ static int run_jvmsim=0;
 
 void usage(void)
 {
-        rt_help();
-        printf("thread_clock specific options:\n");
-        printf("  -j            enable jvmsim\n");
+       rt_help();
+       printf("thread_clock specific options:\n");
+       printf("  -j            enable jvmsim\n");
 }
 
 int parse_args(int c, char *v)
 {
-
-        int handled = 1;
-        switch (c) {
-                case 'j':
-                        run_jvmsim = 1;
-                        break;
-                case 'h':
-                        usage();
-                        exit(0);
-                default:
-                        handled = 0;
-                        break;
-        }
-        return handled;
+       int handled = 1;
+       switch (c) {
+       case 'j':
+               run_jvmsim = 1;
+               break;
+       case 'h':
+               usage();
+               exit(0);
+       default:
+               handled = 0;
+               break;
+       }
+       return handled;
 }
 
 /* Just spend some time on the CPU */
@@ -189,10 +188,10 @@ int main(int argc,char* argv[])
        rt_init("jh",parse_args,argc,argv);
 
        if (run_jvmsim) {
-                printf("jvmsim enabled\n");
-                jvmsim_init();  // Start the JVM simulation
+               printf("jvmsim enabled\n");
+               jvmsim_init();  // Start the JVM simulation
        } else {
-                printf("jvmsim disabled\n");
+               printf("jvmsim disabled\n");
        }
 
        /* Start sleeper threads */
-- 
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to