aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/import.c
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2010-02-22 16:55:42 -0800
committerRuss Cox <rsc@swtch.com>2010-02-22 16:55:42 -0800
commitc77d5b8e1cab6c80b3b677cb0912110086a8fa12 (patch)
tree3309dc6062f5a1a2c1810f64c7196ede2a504b48 /src/cmd/import.c
parent8425b514aa027459410a6cbea98799680e33e480 (diff)
downloadplan9port-c77d5b8e1cab6c80b3b677cb0912110086a8fa12.tar.gz
plan9port-c77d5b8e1cab6c80b3b677cb0912110086a8fa12.tar.bz2
plan9port-c77d5b8e1cab6c80b3b677cb0912110086a8fa12.zip
import: use command line service name
R=rsc http://codereview.appspot.com/220042
Diffstat (limited to 'src/cmd/import.c')
-rw-r--r--src/cmd/import.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/import.c b/src/cmd/import.c
index 4d2902f7..117a5c2a 100644
--- a/src/cmd/import.c
+++ b/src/cmd/import.c
@@ -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]);