projects
/
platform
/
core
/
uifw
/
e-mod-tizen-wm-policy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b12c61a
)
e_mod_sensord: fixed return value check for sensord_disconnect which returns value...
73/104673/1
author
Gwanglim Lee
<gl77.lee@samsung.com>
Wed, 14 Dec 2016 05:33:23 +0000
(14:33 +0900)
committer
Gwanglim Lee
<gl77.lee@samsung.com>
Wed, 14 Dec 2016 05:33:23 +0000
(14:33 +0900)
Change-Id: Idf7f1f0070971db76bed746aeefc8166343f7bbd
src/rotation/e_mod_sensord.c
patch
|
blob
|
history
diff --git
a/src/rotation/e_mod_sensord.c
b/src/rotation/e_mod_sensord.c
index
c12d680
..
3c8031c
100644
(file)
--- a/
src/rotation/e_mod_sensord.c
+++ b/
src/rotation/e_mod_sensord.c
@@
-190,7
+190,7
@@
_sensor_disconnect(void)
}
r = sensord_disconnect(_pol_sensor.handle);
- if (r
<
0)
+ if (r
==
0)
{
ERR("ERR! sensord_disconnect failed %d", r);
goto error;