summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSangyoon Jang <s89.jang@samsung.com>2015-08-28 19:25:13 +0900
committerSangyoon Jang <s89.jang@samsung.com>2015-08-28 19:25:13 +0900
commit2a9644fdff3d3ffb29d13bc7352bcf288ec1791c (patch)
tree76df585246a5b3ee8b7280e750574a43763673c5
parent7d11851a5c1d123c4e72eebdc9a1bce8b6849c11 (diff)
downloadaul-1-2a9644fdff3d3ffb29d13bc7352bcf288ec1791c.tar.gz
aul-1-2a9644fdff3d3ffb29d13bc7352bcf288ec1791c.tar.bz2
aul-1-2a9644fdff3d3ffb29d13bc7352bcf288ec1791c.zip
Send result of APP_TERM_REQ_PID to caller
Change-Id: Ib93418aa223301964c5bd1afbaff4440f8eb1e19 Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
-rw-r--r--am_daemon/amd_request.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/am_daemon/amd_request.c b/am_daemon/amd_request.c
index 91250004..738427b4 100644
--- a/am_daemon/amd_request.c
+++ b/am_daemon/amd_request.c
@@ -199,9 +199,7 @@ static int __app_process_by_pid(int cmd,
__real_send(clifd, ret);
break;
case APP_TERM_REQ_BY_PID:
- if ((ret = __app_send_raw(pid, APP_TERM_REQ_BY_PID, (unsigned char *)&dummy, sizeof(int))) < 0) {
- _D("terminate req packet send error");
- }
+ ret = _term_req_app(pid, clifd);
break;
case APP_TERM_BY_PID_ASYNC:
if ((ret = __app_send_raw_with_noreply(pid, cmd, (unsigned char *)&dummy, sizeof(int))) < 0) {