post9pservice: add extra arg to unmodified calls

This commit is contained in:
Russ Cox 2008-04-17 16:13:04 -04:00
parent be3e351464
commit 7db5826d1b
3 changed files with 3 additions and 3 deletions

View file

@ -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];

View file

@ -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);

View file

@ -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);
}