[Title] remove fprintf(...)
authormunkyu.im <munkyu.im@samsung.com>
Sat, 26 Nov 2011 06:37:46 +0000 (15:37 +0900)
committermunkyu.im <munkyu.im@samsung.com>
Sat, 26 Nov 2011 06:37:46 +0000 (15:37 +0900)
[Type]      // Commit Type: Feature / Bugfix / Enhancement
[Module]    // Module Name - (Main / Sub)
[Priority]
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

tizen/src/debug_ch.c
tizen/src/debug_ch_vtm.c

index 6caacd6..045f24c 100644 (file)
@@ -271,13 +271,7 @@ static void debug_init(void)
        strcat(logfile, "logs/emulator.log");
 
        if(access(logfile, F_OK | R_OK) == 0)
-       {
-               if(remove(logfile) == 0)
-                       fprintf(stdout, "origianl (%s) is removed\n", logfile);
-       }
-
-
-
+               remove(logfile) == 0
 }
 
 /* allocate some tmp string space */
index ba02f80..bbcb6b4 100644 (file)
@@ -270,10 +270,7 @@ static void debug_init(void)
        strcat(logfile, "/vtm.log");
 
        if(access(logfile, F_OK | R_OK) == 0)
-       {
-               if(remove(logfile) == 0)
-                       fprintf(stdout, "origianl (%s) is removed\n", logfile);
-       }
+               remove(logfile) == 0
 }
 
 /* allocate some tmp string space */