projects
/
platform
/
core
/
system
/
pass.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2f5ed1
)
util: kernel: Fix STATIC_OVERFLOW issue
54/271754/2
author
Chanwoo Choi
<cw00.choi@samsung.com>
Mon, 28 Feb 2022 05:41:36 +0000
(14:41 +0900)
committer
Chanwoo Choi
<cw00.choi@samsung.com>
Mon, 28 Feb 2022 05:17:57 +0000
(
05:17
+0000)
Change-Id: Ic8118a695865913f06da029a47278cccfd266c09
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
src/util/kernel.c
patch
|
blob
|
history
diff --git
a/src/util/kernel.c
b/src/util/kernel.c
index
6e9fb36
..
a23c40e
100644
(file)
--- a/
src/util/kernel.c
+++ b/
src/util/kernel.c
@@
-61,7
+61,7
@@
static int __get_cpu_stat(FILE *fp, struct cpu_stat *data)
if (!fp || !data)
return -EINVAL;
- ret = fscanf(fp, "%s %"PRId64" %"PRId64" %"PRId64" %"PRId64" \
+ ret = fscanf(fp, "%
7
s %"PRId64" %"PRId64" %"PRId64" %"PRId64" \
%"PRId64" %"PRId64" %"PRId64" %*s %*s %*s",
data->name,
&data->user,