projects
/
nbd.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3ca24ac
)
r241: Merge r240 from trunk
author
yoe <yoe>
Mon, 12 Feb 2007 12:33:26 +0000
(12:33 +0000)
committer
yoe <yoe>
Mon, 12 Feb 2007 12:33:26 +0000
(12:33 +0000)
nbd-server.c
patch
|
blob
|
history
diff --git
a/nbd-server.c
b/nbd-server.c
index
e3dabeb
..
4ba40aa
100644
(file)
--- a/
nbd-server.c
+++ b/
nbd-server.c
@@
-680,7
+680,7
@@
void sigchld_handler(int s) {
pid_t pid;
while((pid=waitpid(-1, &status, WNOHANG)) > 0) {
pid_t pid;
while((pid=waitpid(-1, &status, WNOHANG)) > 0) {
- if(WIFEXITED(&status)) {
+ if(WIFEXITED(status)) {
msg3(LOG_INFO, "Child exited with %d", WEXITSTATUS(status));
}
i=g_hash_table_lookup(children, &pid);
msg3(LOG_INFO, "Child exited with %d", WEXITSTATUS(status));
}
i=g_hash_table_lookup(children, &pid);