diff options
author | Jarno Rajahalme <jrajahalme@nicira.com> | 2015-05-29 11:28:38 -0700 |
---|---|---|
committer | Jarno Rajahalme <jrajahalme@nicira.com> | 2015-06-01 11:27:26 -0700 |
commit | 8f12b27a59ff2ffaf16159de7ae38cb6bf4e43a5 (patch) | |
tree | ffd02d326f18c224a4a8687442be0aead033142c | |
parent | 7e911055e657fa2a2af52f9fa3e7545055fa1f09 (diff) | |
download | openvswitch-8f12b27a59ff2ffaf16159de7ae38cb6bf4e43a5.tar.gz |
ofproto: Eliminate use of unset error code.
Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
-rw-r--r-- | ofproto/ofproto.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index e06273276..5c3b49773 100644 --- a/ofproto/ofproto.c +++ b/ofproto/ofproto.c @@ -4372,8 +4372,7 @@ add_flow(struct ofproto *ofproto, struct ofputil_flow_mod *fm, rule = ofproto->ofproto_class->rule_alloc(); if (!rule) { cls_rule_destroy(&cr); - VLOG_WARN_RL(&rl, "%s: failed to create rule (%s)", - ofproto->name, ovs_strerror(error)); + VLOG_WARN_RL(&rl, "%s: failed to allocate a rule.", ofproto->name); return ENOMEM; } |