projects
/
sdk
/
tools
/
profctl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54aee92
)
Fix printf formatting for system info;
author
Rinat Dobrokhotov
<rdobrokhotov@dev.rtsoft.ru>
Tue, 28 Aug 2018 14:22:16 +0000
(17:22 +0300)
committer
Aleksei Vereshchagin
<avereschagin@dev.rtsoft.ru>
Tue, 28 Aug 2018 22:24:18 +0000
(
01:24
+0300)
profctl.c
patch
|
blob
|
history
diff --git
a/profctl.c
b/profctl.c
index 83da8b9b059bb63b5c71b0d31bb4d6644866fb6e..403a6589ec2bb393ebedc0a35aa36630330af7c2 100644
(file)
--- a/
profctl.c
+++ b/
profctl.c
@@
-291,7
+291,7
@@
static void *outstat(void *arg)
: fstat.f_bavail / (1024 / fstat.f_bsize);
fprintf(sfile,
- "%ld.%d %d" " %s %s %s" " %s %s" " %s %s %ld %ld\n",
+ "%ld.%
03
d %d" " %s %s %s" " %s %s" " %s %s %ld %ld\n",
t, millisec, ncpu,
stats[1], stats[3], stats[4], /* user system idle */
pstats[14 - 1], pstats[15 - 1], /* puser psystem */