commit d0f4baaafc4f4f475f9000a5bd4e9910b94a679f
parent 652e50e94fcf2376d29c9cc45695cdc98781a114
Author: Ember Sawady <ecs@d2evs.net>
Date: Sat, 14 Jan 2023 17:30:29 +0000
os::exec::strerror: handle errors::error correctly
Signed-off-by: Ember Sawady <ecs@d2evs.net>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/os/exec/types.ha b/os/exec/types.ha
@@ -28,7 +28,7 @@ export fn strerror(err: error) const str = {
match (err) {
case nocmd =>
return "Command not found";
- case let err: errors::opaque =>
+ case let err: errors::error =>
return errors::strerror(err);
case let err: io::error =>
return io::strerror(err);