diff options
Diffstat (limited to 'src/libplumb')
-rw-r--r-- | src/libplumb/fid.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/libplumb/fid.c b/src/libplumb/fid.c index f19b76ed..cea5ce02 100644 --- a/src/libplumb/fid.c +++ b/src/libplumb/fid.c @@ -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); } |