diff options
author | Russ Cox <rsc@swtch.com> | 2007-10-29 14:33:17 -0400 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2007-10-29 14:33:17 -0400 |
commit | 45ac814c8609174199cadb6f1bbb4baf7c12c94a (patch) | |
tree | 49f4b2120a36b080a0ffe8f9988c21db7b97656c /src/cmd/venti/srv/hproc.c | |
parent | c5a183de108e5685305734d5cf984b58bb0d614a (diff) | |
download | plan9port-45ac814c8609174199cadb6f1bbb4baf7c12c94a.tar.gz plan9port-45ac814c8609174199cadb6f1bbb4baf7c12c94a.tar.bz2 plan9port-45ac814c8609174199cadb6f1bbb4baf7c12c94a.zip |
venti: fix sync deadlock, add /proc stub
Diffstat (limited to 'src/cmd/venti/srv/hproc.c')
-rw-r--r-- | src/cmd/venti/srv/hproc.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/cmd/venti/srv/hproc.c b/src/cmd/venti/srv/hproc.c new file mode 100644 index 00000000..42933920 --- /dev/null +++ b/src/cmd/venti/srv/hproc.c @@ -0,0 +1,17 @@ +#include "stdinc.h" +#include "dat.h" +#include "fns.h" +#include "xml.h" + +int +hproc(HConnect *c) +{ + int r; + + if((r = hsettext(c)) < 0) + return r; + hprint(&c->hout, "/proc only implemented on Plan 9\n"); + hflush(&c->hout); + return 0; +} + |