projects
/
platform
/
core
/
system
/
swap-manager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a24668
)
Fix checking error on gem init
15/103215/2
author
Alexander Aksenov
<a.aksenov@samsung.com>
Wed, 7 Dec 2016 14:00:23 +0000
(17:00 +0300)
committer
Dmitry Kovalenko
<d.kovalenko@samsung.com>
Fri, 9 Dec 2016 10:45:40 +0000
(
02:45
-0800)
Svace issue
Change-Id: I26918bfd866a1d2ba998225bc1d5b16ce0c22b11
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
daemon/sys_stat.c
patch
|
blob
|
history
diff --git
a/daemon/sys_stat.c
b/daemon/sys_stat.c
index
09ad004
..
41b9e94
100644
(file)
--- a/
daemon/sys_stat.c
+++ b/
daemon/sys_stat.c
@@
-2564,7
+2564,7
@@
int init_sys_stat(void)
init_network_stat();
init_disk_stat();
- if (manager.fd.gem_memory
< 0
)
+ if (manager.fd.gem_memory
== NULL
)
LOGW("gem file not found\n");
if (manager.fd.brightness < 0)
LOGW("brightness file not found\n");