diff options
author | Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp> | 2014-12-16 19:37:22 +0900 |
---|---|---|
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2014-12-16 17:45:34 +0200 |
commit | 9d86021cacdbdaedc610ed598c2b1c5aca04ba9e (patch) | |
tree | a6d9f12db91449e6a6f34778d6b6f39ec58709a3 /ivi-shell | |
parent | f0aaa417484e45aaf0aa2a56f1cdaf59b7a22ad7 (diff) | |
download | weston-9d86021cacdbdaedc610ed598c2b1c5aca04ba9e.tar.gz weston-9d86021cacdbdaedc610ed598c2b1c5aca04ba9e.tar.bz2 weston-9d86021cacdbdaedc610ed598c2b1c5aca04ba9e.zip |
ivi-shell: Fix wrong condition to check return value of controller_module_init
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
Diffstat (limited to 'ivi-shell')
-rw-r--r-- | ivi-shell/ivi-layout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ivi-shell/ivi-layout.c b/ivi-shell/ivi-layout.c index a1264833..6b2604e1 100644 --- a/ivi-shell/ivi-layout.c +++ b/ivi-shell/ivi-layout.c @@ -2954,9 +2954,9 @@ load_controller_modules(struct weston_compositor *compositor, const char *module controller_module_init = weston_load_module(buffer, "controller_module_init"); if (controller_module_init) - if(!controller_module_init(compositor, argc, argv, + if(controller_module_init(compositor, argc, argv, &ivi_controller_interface, - sizeof(struct ivi_controller_interface))) { + sizeof(struct ivi_controller_interface)) != 0) { weston_log("ivi-shell: Initialization of controller module fails"); return -1; } |