From 57d7df40f4972fa812917ade6d93579486925394 Mon Sep 17 00:00:00 2001 From: rsc Date: Fri, 18 Mar 2005 19:04:28 +0000 Subject: [PATCH] shuffle --- src/libplumb/fid.c | 9 ++++++--- 1 file 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); }