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 5c3cd26..24fddbb 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_] = {}