Fixed seek method of the read command

This commit is contained in:
Sasha Koshka 2024-10-09 22:27:46 -04:00
parent a2543ef78e
commit 61f85cfdda
2 changed files with 18 additions and 11 deletions

View File

@ -11,7 +11,7 @@ let bulb_path: []str = [];
export type no_such_board = !void; export type no_such_board = !void;
export type invalid_board = !void; export type invalid_board = !void;
export type error = (io::error | fs::error | no_such_board | invalid_board); export type error = !(io::error | fs::error | no_such_board | invalid_board);
export fn strerror(err: error) str = match(err) { export fn strerror(err: error) str = match(err) {
case no_such_board => return "No such board"; case no_such_board => return "No such board";