diff options
Diffstat (limited to 'src/cmd/auth/factotum/fs.c')
-rw-r--r-- | src/cmd/auth/factotum/fs.c | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/src/cmd/auth/factotum/fs.c b/src/cmd/auth/factotum/fs.c index 88bbfd8b..bd6c105e 100644 --- a/src/cmd/auth/factotum/fs.c +++ b/src/cmd/auth/factotum/fs.c @@ -517,15 +517,19 @@ fsstart(Srv *s) proccreate(fsproc, nil, STACK); } -Srv fs = { -.attach= fsattach, -.walk1= fswalk1, -.open= fssend, -.read= fssend, -.write= fssend, -.stat= fsstat, -.flush= fssend, -.destroyfid= fssendclunk, -.start= fsstart, -}; +Srv fs; + +void +fsinit0(void) +{ + fs.attach = fsattach; + fs.walk1 = fswalk1; + fs.open = fssend; + fs.read = fssend; + fs.write = fssend; + fs.stat = fsstat; + fs.flush = fssend; + fs.destroyfid = fssendclunk; + fs.start = fsstart; +} |