open correct factotum file

This commit is contained in:
rsc 2005-02-11 22:04:12 +00:00
parent f93c7b2dc8
commit ba285d2ba9

View file

@ -68,7 +68,7 @@ auth_allocrpc(void)
return nil;
rpc->afd = open("/mnt/factotum/rpc", ORDWR);
if(rpc->afd < 0){
rpc->afid = nsopen("factotum", nil, "factotum/rpc", ORDWR);
rpc->afid = nsopen("factotum", nil, "rpc", ORDWR);
if(rpc->afid == nil){
free(rpc);
return nil;