[Feature][ZXW-452]merge P54U02 version

Only Configure: No
Affected branch: master
Affected module: unknow
Is it affected on both ZXIC and MTK: only ZXIC
Self-test: Yes
Doc Update: No

Change-Id: I17e6795ab66e2b9d1cbbfec4b7c0028d666e177d
diff --git a/ap/app/zte_comm/rtc-service/rtc-service.c b/ap/app/zte_comm/rtc-service/rtc-service.c
index fb159e5..d9db201 100755
--- a/ap/app/zte_comm/rtc-service/rtc-service.c
+++ b/ap/app/zte_comm/rtc-service/rtc-service.c
@@ -62,6 +62,7 @@
 static void convert_time(time_t timeSec, struct tm * tmTime, TIME_CONVERT_TYPE type)
 {
     time_t tmpTime = 0;
+	time_t tmpTime2 = 0;
     if (tmTime == NULL)
     {
         slog(RTC_PRINT, SLOG_ERR, "rtc-service: wrong input param, check it! \n");
@@ -78,9 +79,10 @@
         localtime_r((time_t*)&tmpTime, tmTime);
     }
 
+	tmpTime2 = mktime(tmTime);
     slog(RTC_PRINT, SLOG_DEBUG,
          "Time:%ld, tm_year:%d, tm_mon:%d, tm_hour:%d, tm_min:%d, tm_sec:%d, tm_yday:%d, tm_mday:%d, tm_wday:%d \n",
-         mktime(tmTime), tmTime->tm_year, tmTime->tm_mon, tmTime->tm_hour, tmTime->tm_min, tmTime->tm_sec, tmTime->tm_yday,
+         tmpTime2, tmTime->tm_year, tmTime->tm_mon, tmTime->tm_hour, tmTime->tm_min, tmTime->tm_sec, tmTime->tm_yday,
          tmTime->tm_mday, tmTime->tm_wday);
 
 }