From: Chanwoo Choi Date: Thu, 27 Jan 2022 01:21:42 +0000 (+0900) Subject: halapi: common: Fix wrong operation X-Git-Tag: accepted/tizen/unified/20220209.131808~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=016a64a268856f3aa5e4a49e915012d389445b68;p=platform%2Fhal%2Fapi%2Fcommon.git halapi: common: Fix wrong operation Reported-by: Seung-Woo Kim sw0312.kim@samsung.com Change-Id: I9a33513c00f772ce7f431331817199440181d83e Signed-off-by: Chanwoo Choi --- diff --git a/src/hal-api-conf.c b/src/hal-api-conf.c index d86f03a..7bc5d55 100644 --- a/src/hal-api-conf.c +++ b/src/hal-api-conf.c @@ -72,7 +72,7 @@ static struct __hal_module_info* _get_module_info_with_library_name(enum hal_mod char *library_name_prefix = NULL; int ret; - if (!_module_hash | !library_name) + if (!_module_hash || !library_name) return NULL; tmp_info = _get_module_info(module);