summaryrefslogtreecommitdiff
path: root/sys/src/cmd/acme/acme.c
diff options
context:
space:
mode:
authorkvik <kvik@a-b.xyz>2020-05-10 03:18:57 +0200
committerkvik <kvik@a-b.xyz>2020-05-10 03:18:57 +0200
commit1c3a6fc67e6df47e49a9aa6bb13ddfb75852b99c (patch)
tree9bd710278f9553a841ce3a35f4c50827e4788d26 /sys/src/cmd/acme/acme.c
parent758edf2b1448bcc461bc2f99eeaabad1a077351d (diff)
acme: add missed error checks
Diffstat (limited to 'sys/src/cmd/acme/acme.c')
-rw-r--r--sys/src/cmd/acme/acme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/acme/acme.c b/sys/src/cmd/acme/acme.c
index 608a28f71..fdc9b699e 100644
--- a/sys/src/cmd/acme/acme.c
+++ b/sys/src/cmd/acme/acme.c
@@ -167,7 +167,7 @@ threadmain(int argc, char *argv[])
cedit = chancreate(sizeof(int), 0);
cexit = chancreate(sizeof(int), 0);
cwarn = chancreate(sizeof(void*), 1);
- if(cwait==nil || ccommand==nil || ckill==nil || cxfidalloc==nil || cxfidfree==nil || cerr==nil || cexit==nil || cwarn==nil){
+ if(cwait==nil || ccommand==nil || ckill==nil || cxfidalloc==nil || cxfidfree==nil || cnewwindow==nil || cerr==nil || cedit==nil || cexit==nil || cwarn==nil){
fprint(2, "acme: can't create initial channels: %r\n");
threadexitsall("channels");
}