From 54041ca415f1fdfa1c3dcd82d524223cfa890940 Mon Sep 17 00:00:00 2001 From: forsyth Date: Fri, 4 Dec 2009 20:41:24 +0000 Subject: 20091204 --- appl/cmd/mount.b | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'appl/cmd') diff --git a/appl/cmd/mount.b b/appl/cmd/mount.b index 9eb6e3a9..514db41a 100644 --- a/appl/cmd/mount.b +++ b/appl/cmd/mount.b @@ -215,17 +215,15 @@ runcmd(sh: Sh, ctxt: ref Draw->Context, argv: list of string, stdin: ref Sys->FD cvstyx(fd: ref Sys->FD): (ref Sys->FD, string) { - styxconv := load Styxconv Styxconv->PATH; + styxconv := load Styxconv Styxconv->PATHNEW2OLD; if(styxconv == nil) - return (nil, sys->sprint("cannot load %s: %r", Styxconv->PATH)); + return (nil, sys->sprint("cannot load %s: %r", Styxconv->PATHNEW2OLD)); styxconv->init(); p := array[2] of ref Sys->FD; if(sys->pipe(p) < 0) return (nil, sys->sprint("can't create pipe: %r")); - pidc := chan of int; - spawn styxconv->styxconv(p[1], fd, pidc); + spawn styxconv->styxconv(p[1], fd); p[1] = nil; - <-pidc; return (p[0], nil); } -- cgit v1.2.3