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 ce9723b91eec68bc07b83f6a3917c888f4651429..ff52cb22776ff28d5f5de3cd57d265da2114e9f3 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;