diff options
author | Russ Cox <rsc@swtch.com> | 2008-04-17 16:13:04 -0400 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2008-04-17 16:13:04 -0400 |
commit | 7db5826d1b0b3bf01d6774027eece153de88dbfb (patch) | |
tree | 46c36ab758468ebf0636386da95eaf5f074dcfd9 /src | |
parent | be3e351464e9c656eae8644727060f3d458a2984 (diff) | |
download | plan9port-7db5826d1b0b3bf01d6774027eece153de88dbfb.tar.gz plan9port-7db5826d1b0b3bf01d6774027eece153de88dbfb.tar.bz2 plan9port-7db5826d1b0b3bf01d6774027eece153de88dbfb.zip |
post9pservice: add extra arg to unmodified calls
Diffstat (limited to 'src')
-rwxr-xr-x | src/cmd/ndb/dns.c | 2 | ||||
-rw-r--r-- | src/cmd/plumb/fsys.c | 2 | ||||
-rw-r--r-- | src/cmd/tapefs/fs.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/ndb/dns.c b/src/cmd/ndb/dns.c index a7b6fd3b..5e150b1c 100755 --- a/src/cmd/ndb/dns.c +++ b/src/cmd/ndb/dns.c @@ -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]; diff --git a/src/cmd/plumb/fsys.c b/src/cmd/plumb/fsys.c index 4ae99afd..8b9188be 100644 --- a/src/cmd/plumb/fsys.c +++ b/src/cmd/plumb/fsys.c @@ -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); diff --git a/src/cmd/tapefs/fs.c b/src/cmd/tapefs/fs.c index 1e56ae44..f67fa6da 100644 --- a/src/cmd/tapefs/fs.c +++ b/src/cmd/tapefs/fs.c @@ -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); } |