diff options
| author | forsyth <forsyth@vitanuova.com> | 2009-12-04 20:41:24 +0000 |
|---|---|---|
| committer | forsyth <forsyth@vitanuova.com> | 2009-12-04 20:41:24 +0000 |
| commit | 54041ca415f1fdfa1c3dcd82d524223cfa890940 (patch) | |
| tree | 61b7d29f9df1ade1b3cb5ad859f53fecead5e356 /appl/cmd/mount.b | |
| parent | 1d6f6b43a0f31b37b3302fc0d627c904c381f3d1 (diff) | |
20091204
Diffstat (limited to 'appl/cmd/mount.b')
| -rw-r--r-- | appl/cmd/mount.b | 8 |
1 files changed, 3 insertions, 5 deletions
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); } |
