Fixed seek method of the read command
This commit is contained in:
parent
a2543ef78e
commit
61f85cfdda
25
bulb/bulb.ha
25
bulb/bulb.ha
@ -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";
|
||||||