[ovs-dev] [PATCH] ovs-ofctl: Correct bad reference in parse-flows error message.
Justin Pettit
jpettit at nicira.com
Thu Nov 3 06:53:39 UTC 2011
---
utilities/ovs-ofctl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/utilities/ovs-ofctl.c b/utilities/ovs-ofctl.c
index ce9723b..ff52cb2 100644
--- a/utilities/ovs-ofctl.c
+++ b/utilities/ovs-ofctl.c
@@ -1421,7 +1421,7 @@ do_parse_flows(int argc OVS_UNUSED, char *argv[])
file = fopen(argv[1], "r");
if (file == NULL) {
- ovs_fatal(errno, "%s: open", argv[2]);
+ ovs_fatal(errno, "%s: open", argv[1]);
}
flow_format = NXFF_OPENFLOW10;
--
1.7.1
More information about the dev
mailing list