This commit is contained in:
rsc 2005-03-18 19:04:28 +00:00
parent 1dd11f5932
commit 57d7df40f4

View file

@ -49,10 +49,13 @@ plumbopen(char *name, int omode)
CFid*
plumbopenfid(char *name, int mode)
{
if(fsplumb == nil)
if(fsplumb == nil){
fsplumb = nsmount("plumb", "");
if(fsplumb == nil)
return nil;
if(fsplumb == nil){
werrstr("mount plumb: %r");
return nil;
}
}
return fsopen(fsplumb, name, mode);
}