chore: code optimization

This commit is contained in:
kailixu 2023-07-24 10:15:32 +08:00
parent 1d23b0215c
commit dffdbb53f6
1 changed files with 1 additions and 1 deletions

View File

@ -968,7 +968,7 @@ int64_t taosGetOsUptime() {
struct sysinfo info; struct sysinfo info;
if (0 == sysinfo(&info)) { if (0 == sysinfo(&info)) {
return (int64_t)info.uptime * 1000; return (int64_t)info.uptime * 1000;
}; }
#endif #endif
return 0; return 0;
} }