import: use command line service name

R=rsc
http://codereview.appspot.com/220042
This commit is contained in:
Russ Cox 2010-02-22 16:55:42 -08:00
parent 8425b514aa
commit c77d5b8e1c

View file

@ -150,7 +150,7 @@ post(char *srv)
fatal("can't create pipe: %r");
/* 0 will be server end, 1 will be client end */
if(post9pservice(p[1], "plumb", nil) < 0)
if(post9pservice(p[1], srv, nil) < 0)
fatal("post9pservice plumb: %r");
close(p[1]);