options: Fix error message for parsing chart file names.
authorBen Pfaff <blp@cs.stanford.edu>
Sat, 5 Dec 2020 06:53:28 +0000 (22:53 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Sat, 5 Dec 2020 06:53:52 +0000 (22:53 -0800)
src/output/options.c

index 43a0f1c0b895ca3aa16f93699703d298d0a3656e..3f2fc478737845073a0af18f31efc0db467f4ea4 100644 (file)
@@ -324,7 +324,7 @@ parse_chart_file_name (struct driver_option *o)
         {
           msg (MW, _("%s: `%s' is `%s' but a file name that contains "
                          "`#' is required."),
-                 o->name, o->value, o->driver_name);
+               o->driver_name, o->name, o->value);
           chart_file_name = default_chart_file_name (o->default_value);
         }
     }