commit ba12277a0d039cb8659a5f24942779524d034780
parent e72bac02ba456a87e94afdf05f6f853dc3c1bb2c
Author: Eyal Sawady <ecs@d2evs.net>
Date: Thu, 9 Sep 2021 17:02:34 +0000
cat: use main::error
Rather than (io::error | fs::error)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cat.ha b/cat.ha
@@ -5,7 +5,7 @@ use io;
use main;
use os;
-export fn utilmain() (io::error | fs::error | void) = {
+export fn utilmain() (main::error | void) = {
const cmd = getopt::parse(os::args);
defer getopt::finish(&cmd);