imageinfo_ni: formatting code

Origin commit data
------------------
Commit: 9a7054e6ac
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-11-26 (Fri, 26 Nov 2021)

Origin message was:
------------------
- imageinfo_ni: formatting code
This commit is contained in:
vanhofen
2021-11-26 21:50:59 +01:00
parent e5bf0b4931
commit 6d9545e0ab

View File

@@ -537,7 +537,7 @@ int CImageInfoNI::CPU_Percent(_stat *cpu)
long unsigned int sys_diff = sys_new - sys_old;
long unsigned int total_diff = total_new - total_old;
if(!total_diff)
if (!total_diff)
total_diff = 1;
long unsigned int percent = ((float) sys_diff / (float) total_diff) * 100;