projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sflow: Use hash table instead of sparse array for sflow ports.
[openvswitch]
/
lib
/
process.c
diff --git
a/lib/process.c
b/lib/process.c
index af867ef4e01f5f349c650487089c5327aa3f4149..377c396b90cab6871860cf91f8d92a9c9e089a9f 100644
(file)
--- a/
lib/process.c
+++ b/
lib/process.c
@@
-32,10
+32,10
@@
#include "poll-loop.h"
#include "socket-util.h"
#include "util.h"
#include "poll-loop.h"
#include "socket-util.h"
#include "util.h"
-
-#define THIS_MODULE VLM_process
#include "vlog.h"
#include "vlog.h"
+VLOG_DEFINE_THIS_MODULE(process)
+
struct process {
struct list node;
char *name;
struct process {
struct list node;
char *name;
@@
-517,7
+517,7
@@
process_run_capture(char **argv, char **stdout_log, char **stderr_log,
block_sigchld(&oldsigs);
pid = fork();
if (pid < 0) {
block_sigchld(&oldsigs);
pid = fork();
if (pid < 0) {
-
int
error = errno;
+ error = errno;
unblock_sigchld(&oldsigs);
VLOG_WARN("fork failed: %s", strerror(error));
unblock_sigchld(&oldsigs);
VLOG_WARN("fork failed: %s", strerror(error));