mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
shuffle
This commit is contained in:
parent
1dd11f5932
commit
57d7df40f4
1 changed files with 6 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue