open correct factotum file
This commit is contained in:
parent
f93c7b2dc8
commit
ba285d2ba9
@ -68,7 +68,7 @@ auth_allocrpc(void)
|
|||||||
return nil;
|
return nil;
|
||||||
rpc->afd = open("/mnt/factotum/rpc", ORDWR);
|
rpc->afd = open("/mnt/factotum/rpc", ORDWR);
|
||||||
if(rpc->afd < 0){
|
if(rpc->afd < 0){
|
||||||
rpc->afid = nsopen("factotum", nil, "factotum/rpc", ORDWR);
|
rpc->afid = nsopen("factotum", nil, "rpc", ORDWR);
|
||||||
if(rpc->afid == nil){
|
if(rpc->afid == nil){
|
||||||
free(rpc);
|
free(rpc);
|
||||||
return nil;
|
return nil;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user