projects
/
profile
/
ivi
/
murphy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62c94f3
)
process: fix an error found by static analysis.
author
Ismo Puustinen
<ismo.puustinen@intel.com>
Fri, 19 Sep 2014 07:32:18 +0000
(10:32 +0300)
committer
Ismo Puustinen
<ismo.puustinen@intel.com>
Fri, 19 Sep 2014 07:32:18 +0000
(10:32 +0300)
src/common/process.c
patch
|
blob
|
history
diff --git
a/src/common/process.c
b/src/common/process.c
index
6f3d196
..
826aa30
100644
(file)
--- a/
src/common/process.c
+++ b/
src/common/process.c
@@
-582,7
+582,7
@@
int mrp_process_set_state(const char *id, mrp_process_state_t state)
FILE *f;
int ret = -1;
- if (
!
initialize_dir() < 0)
+ if (initialize_dir() < 0)
goto end;
path = path_from_id(id);