aboutsummaryrefslogtreecommitdiff
path: root/SubmittingPatches
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2009-09-28 13:56:42 -0700
committerBen Pfaff <blp@nicira.com>2009-11-04 14:52:32 -0800
commitec6fde61c85ff6a57b05d422a9d8b5ef679ad928 (patch)
treeb65878fb27521f0f7e3e5bc7b4b9c7b1583f7e5e /SubmittingPatches
parentac718c9dbde6340a85d18c5c8d555d8e0ec88bb3 (diff)
Add new function xzalloc(n) as a shorthand for xcalloc(1, n).
Diffstat (limited to 'SubmittingPatches')
-rw-r--r--SubmittingPatches2
1 files changed, 1 insertions, 1 deletions
diff --git a/SubmittingPatches b/SubmittingPatches
index 917cddbf..280f11ef 100644
--- a/SubmittingPatches
+++ b/SubmittingPatches
@@ -193,7 +193,7 @@ index 32647ea..00cffbc 100644
/* Get rid of deleted bridges and add new bridges. */
svec_sort(&old_br);
@@ -793,7 +780,7 @@ bridge_create(const char *name)
- br = xcalloc(1, sizeof *br);
+ br = xzalloc(sizeof *br);
error = dpif_create(name, &br->dpif);
- if (error == EEXIST) {