mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-24 11:41:58 +00:00
post9pservice: add extra arg to unmodified calls
This commit is contained in:
parent
be3e351464
commit
7db5826d1b
3 changed files with 3 additions and 3 deletions
|
@ -232,7 +232,7 @@ mountinit(char *service)
|
|||
|
||||
if(pipe(p) < 0)
|
||||
abort(); /* "pipe failed" */;
|
||||
if(post9pservice(p[1], service) < 0)
|
||||
if(post9pservice(p[1], service, nil) < 0)
|
||||
fprint(2, "post9pservice dns: %r\n");
|
||||
close(p[1]);
|
||||
mfd[0] = mfd[1] = p[0];
|
||||
|
|
|
@ -196,7 +196,7 @@ startfsys(void)
|
|||
error("can't create pipe: %r");
|
||||
/* 0 will be server end, 1 will be client end */
|
||||
srvfd = p[0];
|
||||
if(post9pservice(p[1], "plumb") < 0)
|
||||
if(post9pservice(p[1], "plumb", nil) < 0)
|
||||
sysfatal("post9pservice plumb: %r");
|
||||
close(p[1]);
|
||||
proccreate(fsysproc, nil, Stack);
|
||||
|
|
|
@ -142,7 +142,7 @@ main(int argc, char *argv[])
|
|||
break;
|
||||
default:
|
||||
close(p[0]); /* don't deadlock if child fails */
|
||||
if(post9pservice(p[1], defmnt) < 0) {
|
||||
if(post9pservice(p[1], defmnt, nil) < 0) {
|
||||
sprint(buf, "post on `%s' failed", defmnt);
|
||||
error(buf);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue