projects
/
cascardo
/
ovs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33cd56a
)
ofproto: Eliminate use of unset error code.
author
Jarno Rajahalme
<jrajahalme@nicira.com>
Fri, 29 May 2015 18:28:38 +0000
(11:28 -0700)
committer
Jarno Rajahalme
<jrajahalme@nicira.com>
Mon, 1 Jun 2015 20:36:31 +0000
(13:36 -0700)
Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto.c
patch
|
blob
|
history
diff --git
a/ofproto/ofproto.c
b/ofproto/ofproto.c
index
377351e
..
6c6dc2d
100644
(file)
--- a/
ofproto/ofproto.c
+++ b/
ofproto/ofproto.c
@@
-4054,8
+4054,7
@@
add_flow(struct ofproto *ofproto, struct ofconn *ofconn,
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;
}