The error message should mention the keyword that caused the error, not
some other random keyword from previous iterations.

Signed-off-by: Ben Pfaff <b...@nicira.com>
---
 build-aux/extract-ofp-errors |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/build-aux/extract-ofp-errors b/build-aux/extract-ofp-errors
index 5c3cd26..24fddbb 100755
--- a/build-aux/extract-ofp-errors
+++ b/build-aux/extract-ofp-errors
@@ -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_] = {}
-- 
1.7.2.5

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to