ref: 78f4f497b44d442cd5712e3fd9a148a85e95596e
parent: afe3eeb3e1f7e37234fc60d158e3693fbed83b96
author: cinap_lenrek <cinap_lenrek@centraldogma>
date: Mon Nov 28 15:58:57 EST 2011
fix vt for new /mnt
--- a/sys/src/cmd/vt/consctl.c
+++ b/sys/src/cmd/vt/consctl.c
@@ -43,7 +43,7 @@
for(tries = 0; tries < 100; tries++){
x->raw = 0;
x->hold = 0;
- fd = open("/mnt/cons/consctl/data", OREAD);
+ fd = open("/mnt/consctl/data", OREAD);
if(fd < 0)
break;
tries = 0;
--- a/sys/src/cmd/vt/event.c
+++ b/sys/src/cmd/vt/event.c
@@ -46,7 +46,7 @@
_exits("rc_fork");
}
- return open("/mnt/cons/cons/data", ORDWR);
+ return open("/mnt/cons/data", ORDWR);
}
void