]> granicus.if.org Git - yasm/commitdiff
Fix error message for arch/parser mismatch.
authorPeter Johnson <peter@tortall.net>
Wed, 27 Sep 2006 06:58:50 +0000 (06:58 -0000)
committerPeter Johnson <peter@tortall.net>
Wed, 27 Sep 2006 06:58:50 +0000 (06:58 -0000)
svn path=/trunk/yasm/; revision=1632

frontends/yasm/yasm.c

index bd5f80042714887eee6376679f3365ce554f3de6..16e6be99a0a28c90e920363b5b1f65a3dc1d1626 100644 (file)
@@ -481,8 +481,9 @@ main(int argc, char *argv[])
                break;
            case YASM_ARCH_CREATE_BAD_PARSER:
                print_error(_("%s: `%s' is not a valid %s for %s `%s'"),
-                           _("FATAL"), machine_name, _("machine"),
-                           _("architecture"), cur_arch_module->keyword);
+                           _("FATAL"), cur_parser_module->keyword,
+                           _("parser"), _("architecture"),
+                           cur_arch_module->keyword);
                break;
            default:
                print_error(_("%s: unknown architecture error"), _("FATAL"));