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 remote-tracking branch 'ovs-dev/master'
[sliver-openvswitch.git]
/
lib
/
process.c
diff --git
a/lib/process.c
b/lib/process.c
index
266c90b
..
143347c
100644
(file)
--- a/
lib/process.c
+++ b/
lib/process.c
@@
-193,7
+193,7
@@
process_start(char **argv, struct process **pp)
pid = fork();
if (pid < 0) {
pid = fork();
if (pid < 0) {
- VLOG_WARN("fork failed: %s", strerror(errno));
+ VLOG_WARN("fork failed: %s",
ovs_
strerror(errno));
return errno;
} else if (pid) {
/* Running in parent process. */
return errno;
} else if (pid) {
/* Running in parent process. */
@@
-210,7
+210,7
@@
process_start(char **argv, struct process **pp)
}
execvp(argv[0], argv);
fprintf(stderr, "execvp(\"%s\") failed: %s\n",
}
execvp(argv[0], argv);
fprintf(stderr, "execvp(\"%s\") failed: %s\n",
- argv[0], strerror(errno));
+ argv[0],
ovs_
strerror(errno));
_exit(1);
}
}
_exit(1);
}
}
@@
-316,7
+316,7
@@
process_run(void)
p->exited = true;
p->status = status;
} else if (retval < 0) {
p->exited = true;
p->status = status;
} else if (retval < 0) {
- VLOG_WARN("waitpid: %s", strerror(errno));
+ VLOG_WARN("waitpid: %s",
ovs_
strerror(errno));
p->exited = true;
p->status = -1;
}
p->exited = true;
p->status = -1;
}