ovsdb: Implement new "declare" operation.
[openvswitch] / lib / process.c
index 1fe3c123506ccbcbec0bacbd15f550b02d67f59d..0c7f424fc84cb01324d70b3b15147978b59029b3 100644 (file)
@@ -161,7 +161,7 @@ process_register(const char *name, pid_t pid)
 
     assert(sigchld_is_blocked());
 
-    p = xcalloc(1, sizeof *p);
+    p = xzalloc(sizeof *p);
     p->pid = pid;
     slash = strrchr(name, '/');
     p->name = xstrdup(slash ? slash + 1 : name);