projects
/
platform
/
core
/
system
/
swap-manager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1913d0
)
[FIX] pid = -1 on message terminate
author
Vitaliy Cherepanov
<v.cherepanov@samsung.com>
Tue, 15 Oct 2013 08:06:34 +0000
(12:06 +0400)
committer
Vitaliy Cherepanov
<v.cherepanov@samsung.com>
Tue, 15 Oct 2013 08:06:34 +0000
(12:06 +0400)
Change-Id: I18e64f3a7a1b930cb8b4016535566aa843f0c596
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
daemon/threads.c
patch
|
blob
|
history
diff --git
a/daemon/threads.c
b/daemon/threads.c
index ad4a03efb82da6ae5d1453108a8c5db0546781f0..7482170c605f24c473f0c27789740826e64aac29 100644
(file)
--- a/
daemon/threads.c
+++ b/
daemon/threads.c
@@
-131,6
+131,7
@@
static void* recvThread(void* data)
barloc[0] = '\0';
barloc++;
+ manager.target[index].pid = atoi(log.data);
event = EVENT_PID;
write(manager.target[index].event_fd, &event, sizeof(uint64_t));
}