From: Chanwoo Choi Date: Wed, 31 Aug 2022 13:48:39 +0000 (+0900) Subject: monitor: request-handler: Fix build error X-Git-Tag: submit/tizen/20220901.025125^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=17e5855e7e01907f037df092f95078dd7dad6fbf;p=platform%2Fcore%2Fsystem%2Fpass.git monitor: request-handler: Fix build error Fix the following build error by using the proper output type when printing the error log. 45s] /home/abuild/rpmbuild/BUILD/pass-2.0.0/src/monitor/request-handler.c:295:31: note: format string is defined here [ 45s] 295 | _E("failed to set flag to %lx, client(%d) | res:name(%s)id(%d)\n", [ 45s] | ~~^ [ 45s] | | [ 45s] | long unsigned int [ 45s] | %llx Change-Id: I401b2b912ed71d40b8e4a0f06d42d6b9b01c4837 Signed-off-by: Chanwoo Choi --- diff --git a/src/monitor/request-handler.c b/src/monitor/request-handler.c index 7a5db8f..5d30833 100644 --- a/src/monitor/request-handler.c +++ b/src/monitor/request-handler.c @@ -292,7 +292,7 @@ static int handle_request_set_resource_flag(struct request_client *client, char ret = set_resource_flag(res, flag_mask); if (ret < 0) { - _E("failed to set flag to %lx, client(%d) | res:name(%s)id(%d)\n", + _E("failed to set flag to %"PRIu64", client(%d) | res:name(%s)id(%d)\n", flag_mask, client->socket_fd, get_resource_name(res), resource_id); return ret;