git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of ssh://git.onelab.eu/git/sliver-openvswitch
[sliver-openvswitch.git]
/
lib
/
process.c
diff --git
a/lib/process.c
b/lib/process.c
index
9f5c35f
..
3fc2e18
100644
(file)
--- a/
lib/process.c
+++ b/
lib/process.c
@@
-16,7
+16,6
@@
#include <config.h>
#include "process.h"
#include <config.h>
#include "process.h"
-#include <assert.h>
#include <errno.h>
#include <fcntl.h>
#include <signal.h>
#include <errno.h>
#include <fcntl.h>
#include <signal.h>
@@
-159,7
+158,7
@@
process_register(const char *name, pid_t pid)
struct process *p;
const char *slash;
struct process *p;
const char *slash;
- assert(sigchld_is_blocked());
+
ovs_
assert(sigchld_is_blocked());
p = xzalloc(sizeof *p);
p->pid = pid;
p = xzalloc(sizeof *p);
p->pid = pid;
@@
-308,7
+307,7
@@
process_exited(struct process *p)
int
process_status(const struct process *p)
{
int
process_status(const struct process *p)
{
- assert(p->exited);
+
ovs_
assert(p->exited);
return p->status;
}
return p->status;
}