diff --git a/src/os/file_other.go b/src/os/file_other.go index 7e4642c0..4b8d0b76 100644 --- a/src/os/file_other.go +++ b/src/os/file_other.go @@ -91,6 +91,10 @@ func (f stdioFileHandle) Seek(offset int64, whence int) (int64, error) { return -1, ErrUnsupported } +func (f stdioFileHandle) Sync() error { + return ErrUnsupported +} + func (f stdioFileHandle) Fd() uintptr { return uintptr(f) }