ovs-ofctl: Correct bad reference in parse-flows error message.
authorJustin Pettit <jpettit@nicira.com>
Thu, 3 Nov 2011 06:27:24 +0000 (23:27 -0700)
committerJustin Pettit <jpettit@nicira.com>
Fri, 4 Nov 2011 20:08:42 +0000 (13:08 -0700)
utilities/ovs-ofctl.c

index ce9723b..ff52cb2 100644 (file)
@@ -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;