diff options
Diffstat (limited to 'core/os/stream.odin')
| -rw-r--r-- | core/os/stream.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os/stream.odin b/core/os/stream.odin index 39edc9cd5..f4e9bcdde 100644 --- a/core/os/stream.odin +++ b/core/os/stream.odin @@ -62,7 +62,7 @@ _file_stream_proc :: proc(stream_data: rawptr, mode: io.Stream_Mode, p: []byte, case .Size: n, os_err = file_size(fd) case .Destroy: - err = .Empty + err = .Unsupported case .Query: return io.query_utility({.Close, .Flush, .Read, .Read_At, .Write, .Write_At, .Seek, .Size, .Query}) } |