mirror of
https://gitee.com/openharmony/startup_init
synced 2024-11-24 00:30:12 +00:00
commit
ea4c8dbf21
@ -102,6 +102,12 @@ void SystemInit(void)
|
||||
RegisterFdHoldWatcher(sock);
|
||||
}
|
||||
InitControlFd();
|
||||
|
||||
// sysclktz 0
|
||||
struct timezone tz = { 0 };
|
||||
if (settimeofday(NULL, &tz) == -1) {
|
||||
INIT_LOGE("Set time of day failed, err = %d", errno);
|
||||
}
|
||||
}
|
||||
|
||||
void LogInit(void)
|
||||
|
Loading…
Reference in New Issue
Block a user