diff options
author | rsc <devnull@localhost> | 2005-03-18 19:04:28 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-03-18 19:04:28 +0000 |
commit | 57d7df40f4972fa812917ade6d93579486925394 (patch) | |
tree | b0f3c16757dc91d9e9f94374aeecc813e816574a /src/libplumb | |
parent | 1dd11f5932365ba0e55ecd3aed6428626335fc1d (diff) | |
download | plan9port-57d7df40f4972fa812917ade6d93579486925394.tar.gz plan9port-57d7df40f4972fa812917ade6d93579486925394.tar.bz2 plan9port-57d7df40f4972fa812917ade6d93579486925394.zip |
shuffle
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); } |