summaryrefslogtreecommitdiff
path: root/sys/src/cmd/tapefs
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2015-08-21 23:38:56 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2015-08-21 23:38:56 +0200
commitd24610fe3813b800ee436dfe5a1121e39721c8f4 (patch)
treedc0029dc39963da6df3bc262ececa600b62bf629 /sys/src/cmd/tapefs
parent5c941ec346f2a0340b0f1dd5ae5635c95d7ef227 (diff)
tapefs: remove dependency to <authsrv.h>
Diffstat (limited to 'sys/src/cmd/tapefs')
-rw-r--r--sys/src/cmd/tapefs/fs.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/src/cmd/tapefs/fs.c b/sys/src/cmd/tapefs/fs.c
index aa09980be..b052c0af6 100644
--- a/sys/src/cmd/tapefs/fs.c
+++ b/sys/src/cmd/tapefs/fs.c
@@ -1,6 +1,5 @@
#include <u.h>
#include <libc.h>
-#include <authsrv.h>
#include <fcall.h>
#include "tapefs.h"
@@ -75,7 +74,6 @@ main(int argc, char *argv[])
Ram *r;
char *defmnt;
int p[2];
- char buf[TICKREQLEN];
fmtinstall('F', fcallfmt);
@@ -142,10 +140,8 @@ main(int argc, char *argv[])
break;
default:
close(p[0]); /* don't deadlock if child fails */
- if(mount(p[1], -1, defmnt, MREPL|MCREATE, "") < 0) {
- sprint(buf, "mount on `%s' failed", defmnt);
- error(buf);
- }
+ if(mount(p[1], -1, defmnt, MREPL|MCREATE, "") < 0)
+ error("mount failed");
}
exits(0);
}