commit 8be606ec80b347e2c7af157854cd6fcd5d512026 (tree)
parent a76023bcd860ac1b11a8dc87b3771365851584b2
Author: Jimmi Holst Christensen <rainbowhejsil@gmail.com>
Date: Fri, 19 Jan 2018 21:51:10 +0100
Now using the right unexpectedError in seekForward
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/std/io.zig b/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),
};
}
},