Commit 8be606ec80

Jimmi Holst Christensen <rainbowhejsil@gmail.com>
2018-01-19 21:51:10
Now using the right unexpectedError in seekForward
1 parent a76023b
Changed files (1)
std
std/io.zig
@@ -209,7 +209,7 @@ pub const File = struct {
                     const err = system.GetLastError();
                     return switch (err) {
                         system.ERROR.INVALID_PARAMETER => error.BadFd,
-                        else => os.unexpectedErrorPosix(err),
+                        else => os.unexpectedErrorWindows(err),
                     };
                 }
             },