diff --git a/src/runtime/print1_write_android.go b/src/runtime/print1_write_android.go index 1f4f0996fe..54d4826375 100644 --- a/src/runtime/print1_write_android.go +++ b/src/runtime/print1_write_android.go @@ -45,6 +45,9 @@ func writeErr(b []byte) { } } + // Write to stderr for command-line programs. + write(2, unsafe.Pointer(&b[0]), int32(len(b))) + // Log format: "
\x00\x00" // //