From a1ead676e69d46df89dd0de12cf86380c5773353 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Thu, 19 Dec 2019 15:00:58 -0500 Subject: sam: report close error --- src/cmd/sam/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmd/sam/io.c') diff --git a/src/cmd/sam/io.c b/src/cmd/sam/io.c index 8740c7ca..c112c0a1 100644 --- a/src/cmd/sam/io.c +++ b/src/cmd/sam/io.c @@ -166,7 +166,7 @@ writeio(File *f) void closeio(Posn p) { - close(io); + Close(io); io = 0; if(p >= 0) dprint("#%lud\n", p); -- cgit v1.2.3