瀏覽代碼

strace: Write output to stderr instead of stdout (#7016)

Fixes #7014.
SViN24 4 年之前
父節點
當前提交
e60c0d675e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Userland/Utilities/strace.cpp

+ 1 - 1
Userland/Utilities/strace.cpp

@@ -40,7 +40,7 @@ int main(int argc, char** argv)
     Vector<const char*> child_argv;
     Vector<const char*> child_argv;
 
 
     const char* output_filename = nullptr;
     const char* output_filename = nullptr;
-    auto trace_file = Core::File::standard_output();
+    auto trace_file = Core::File::standard_error();
 
 
     Core::ArgsParser parser;
     Core::ArgsParser parser;
     parser.set_general_help(
     parser.set_general_help(