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=e38dc7ab27342c0924836ed4f31041998fc7646b;hpb=29917c4f5908454803e663d2ad78bca4bc35e805;p=pspp diff --git a/src/language/utilities/host.c b/src/language/utilities/host.c index e38dc7ab27..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/output-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'; - output_item_submit (text_item_create_nocopy (TEXT_ITEM_LOG, output, - xstrdup (_("Host Output")))); + output_log_nocopy (output); } free (locale_output);