summaryrefslogtreecommitdiff
path: root/sys/src/cmd/vt
diff options
context:
space:
mode:
authorglenda <glenda@cirno>2011-12-02 06:05:23 +0100
committerglenda <glenda@cirno>2011-12-02 06:05:23 +0100
commitb56d307ce627f0621defd5117f4f354b82f8ec42 (patch)
treee7e44745486be7849e12d6334a781efacb9676cc /sys/src/cmd/vt
parent015f7f51129c6cddac5d9e8bd66a4c8a2dbb87e8 (diff)
use mntgen for /mnt and /mnt/exportfs
Diffstat (limited to 'sys/src/cmd/vt')
-rw-r--r--sys/src/cmd/vt/consctl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/src/cmd/vt/consctl.c b/sys/src/cmd/vt/consctl.c
index 525bbb664..6bdf0f46f 100644
--- a/sys/src/cmd/vt/consctl.c
+++ b/sys/src/cmd/vt/consctl.c
@@ -20,13 +20,13 @@ consctl(void)
sysfatal("segattach: %r");
/* a pipe to simulate consctl */
- if(bind("#|", "/mnt/cons/consctl", MBEFORE) < 0
- || bind("/mnt/cons/consctl/data1", "/dev/consctl", MREPL) < 0)
+ if(bind("#|", "/mnt/consctl", MBEFORE) < 0
+ || bind("/mnt/consctl/data1", "/dev/consctl", MREPL) < 0)
sysfatal("bind consctl: %r");
/* a pipe to simulate the /dev/cons */
- if(bind("#|", "/mnt/cons/cons", MREPL) < 0
- || bind("/mnt/cons/cons/data1", "/dev/cons", MREPL) < 0)
+ if(bind("#|", "/mnt/cons", MREPL) < 0
+ || bind("/mnt/cons/data1", "/dev/cons", MREPL) < 0)
sysfatal("bind cons: %r");
switch(fork()){