extract-ofp-errors: Fix error message.
authorBen Pfaff <blp@nicira.com>
Mon, 26 Mar 2012 19:39:12 +0000 (12:39 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 27 Mar 2012 16:16:59 +0000 (09:16 -0700)
The error message should mention the keyword that caused the error, not
some other random keyword from previous iterations.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Reviewed-by: Simon Horman <horms@verge.net.au>
build-aux/extract-ofp-errors

index 5c3cd26fd660c1cb6bd1db0abe8607ffa9cb983f..24fddbbfbe353a1c89c74d3cb927da1a73ccd17e 100755 (executable)
@@ -211,7 +211,7 @@ def extract_ofp_errors(filenames):
                               "NX1.0": ("OF1.0",),
                               "NX1.1": ("OF1.1",)}
                 if targets not in target_map:
-                    fatal("%s: unknown error domain" % target)
+                    fatal("%s: unknown error domain" % targets)
                 for target in target_map[targets]:
                     if type_ not in domain[target]:
                         domain[target][type_] = {}