Now using the right unexpectedError in seekForward

master
Jimmi Holst Christensen 2018-01-19 21:51:10 +01:00
parent a76023bcd8
commit 8be606ec80
1 changed files with 1 additions and 1 deletions

View File

@ -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),
};
}
},