Fix a bug about getting the result 33/245233/2
authorHwankyu Jhun <h.jhun@samsung.com>
Tue, 6 Oct 2020 00:48:27 +0000 (09:48 +0900)
committerHwanKyu Jhun <h.jhun@samsung.com>
Tue, 6 Oct 2020 00:56:30 +0000 (00:56 +0000)
The command should be the process ID of the launched application.

Change-Id: I52b6a883b3f5ba72becf39378a05a10fc648dc31
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/lib/amd_launch.c

index 8a9101dc150944e7507328e08f7f32aa5781c614..676e44491cfa06371353935a5f7613f95f9207c0 100644 (file)
@@ -1584,7 +1584,7 @@ static int __dispatch_app_result(request_h req)
                info = __find_result_info(seq);
 
        if (info) {
-               res = aul_sock_send_bundle_with_fd(info->fd, pid, kb,
+               res = aul_sock_send_bundle_with_fd(info->fd, pgid, kb,
                                AUL_SOCK_NOREPLY);
                __remove_result_info(info);
                __destroy_result_info(info);