commit cac817bd4fecd28967082ffa912cd35fde848349
parent 59f28d78eb93a63c9e8e2498c6a7e721d5e9e48b
Author: Tom Lebreux <me@tomlebreux.com>
Date: Sun, 12 Jun 2022 19:08:56 -0400
fs: add missing cases to strerror
Signed-off-by: Tom Lebreux <me@tomlebreux.com>
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/fs/types.ha b/fs/types.ha
@@ -45,6 +45,10 @@ case errors::exists =>
yield "File or directory exists";
case errors::invalid =>
yield "Invalid argument";
+case errors::busy =>
+ yield "Device is busy";
+case errors::unsupported =>
+ yield "Operation not supported";
case let err: io::error =>
yield io::strerror(err);
};