X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fdriver.c;h=0a6afba98a5d7eeec20b1060217a1ea65e643296;hb=59d67c510f0ddc531cb9650836c9292b78f28fab;hp=f656845527f4603937ebd02d6698a37865b041cf;hpb=fa1fffd5c789d9c7875fc3bdf556eaf017cf524e;p=pspp diff --git a/src/output/driver.c b/src/output/driver.c index f656845527..0a6afba98a 100644 --- a/src/output/driver.c +++ b/src/output/driver.c @@ -38,7 +38,6 @@ #include "output/output-item.h" #include "output/text-item.h" -#include "gl/error.h" #include "gl/xalloc.h" #include "gl/xmemdup0.h" @@ -322,7 +321,7 @@ output_driver_create (struct string_map *options) device_type = SETTINGS_DEVICE_LISTING; else { - error (0, 0, _("%s is not a valid device type (the choices are `%s' and `%s')"), + msg (MW, _("%s is not a valid device type (the choices are `%s' and `%s')"), device_string, "terminal", "listing"); device_type = default_device_type (file_name); } @@ -334,7 +333,7 @@ output_driver_create (struct string_map *options) const char *key; STRING_MAP_FOR_EACH_KEY (key, node, options) - error (0, 0, _("%s: unknown option `%s'"), file_name, key); + msg (MW, _("%s: unknown option `%s'"), file_name, key); } string_map_clear (options);