{
case -1:
error (0, 0,
- _("unknown configuration parameter `%s' for Cairo device "
- "driver"), key);
+ _("unknown configuration parameter `%s' for %s device "
+ "driver"), key, this->class->name);
break;
case output_file_arg:
free (options->file_name);
struct odf_driver_options
{
+ struct outp_driver *driver;
+
char *file_name; /* Output file name. */
bool debug;
};
handle_option (void *options_, const char *key, const struct string *val)
{
struct odf_driver_options *options = options_;
+ struct outp_driver *this = options->driver;
int subcat;
char *value = ds_cstr (val);
{
case -1:
error (0, 0,
- _("unknown configuration parameter `%s' for ODF device "
- "driver"), key);
+ _("unknown configuration parameter `%s' for %s device "
+ "driver"), key, this->class->name);
break;
case output_file_arg:
free (options->file_name);
this->ext = x = xmalloc (sizeof *x);
+ x->opts.driver = this;
x->opts.file_name = xstrdup ("pspp.pdt");
x->opts.debug = false;