X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Futilities%2Fhost.c;h=d730e02634860e4286a7ca245e45bc810394ed9a;hb=c8549a7712888e8862f895314ae02ebd7dac62d1;hp=9d19620f7cf7c1ec82f4186755131e79205ece6f;hpb=26bad54c73bdb354262a2434de93e632a286b0d3;p=pspp diff --git a/src/language/utilities/host.c b/src/language/utilities/host.c index 9d19620f7c..d730e02634 100644 --- a/src/language/utilities/host.c +++ b/src/language/utilities/host.c @@ -38,7 +38,7 @@ #include "libpspp/str.h" #include "libpspp/string-array.h" #include "libpspp/temp-file.h" -#include "output/text-item.h" +#include "output/driver.h" #include "gl/error.h" #include "gl/intprops.h" @@ -261,8 +261,7 @@ run_command (const char *command, struct timespec timeout) if (end > output && end[-1] == '\n') end[-1] = '\0'; - text_item_submit (text_item_create_nocopy (TEXT_ITEM_LOG, output, - xstrdup (_("Host Output")))); + output_log_nocopy (output); } free (locale_output);