summaryrefslogtreecommitdiff
path: root/cmd/srv9p/static.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/srv9p/static.c')
-rw-r--r--cmd/srv9p/static.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/cmd/srv9p/static.c b/cmd/srv9p/static.c
index e89c478..912ec03 100644
--- a/cmd/srv9p/static.c
+++ b/cmd/srv9p/static.c
@@ -24,13 +24,12 @@ static void static_dir_free(struct lib9p_srv_ctx *ctx, struct lib9p_srv_file *_f
/* do nothing */
}
-static struct lib9p_srv_io *static_dir_io(struct lib9p_srv_ctx *ctx, struct lib9p_srv_file *_file, lib9p_o_t UNUSED(flags)) {
+static uint32_t static_dir_io(struct lib9p_srv_ctx *ctx, struct lib9p_srv_file *_file, lib9p_o_t UNUSED(flags)) {
assert(ctx);
struct static_dir *file = (struct static_dir *)_file;
assert(file);
- lib9p_error(&ctx->basectx, LINUX_EFAULT, "TODO: io");
- return NULL;
+ return 1;
}
static struct lib9p_stat static_dir_stat(struct lib9p_srv_ctx *ctx, struct lib9p_srv_file *_file) {