diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-05-29 22:25:02 -0400 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-06-06 23:51:05 -0600 |
commit | 7b0f4d3ac1a64f4015148e89eeeeedf0a617cbc5 (patch) | |
tree | 202d5a40b74cc1632f35e61233247ae9bde4bd26 /cmd/sbc_harness/main.c | |
parent | 945756b1b050bdf09d1119854cc5b22ad15efacd (diff) |
lib9p_srv: Change the public API to use error.h
Diffstat (limited to 'cmd/sbc_harness/main.c')
-rw-r--r-- | cmd/sbc_harness/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/sbc_harness/main.c b/cmd/sbc_harness/main.c index d32b775..82519ae 100644 --- a/cmd/sbc_harness/main.c +++ b/cmd/sbc_harness/main.c @@ -114,8 +114,8 @@ static struct lib9p_srv_file root = ), ); -static lo_interface lib9p_srv_file get_root(struct lib9p_srv_ctx *LM_UNUSED(ctx), struct lib9p_s LM_UNUSED(treename)) { - return root; +static lib9p_srv_file_or_error get_root(struct lib9p_srv_ctx *LM_UNUSED(ctx), struct lib9p_s LM_UNUSED(treename)) { + return ERROR_NEW_VAL(lib9p_srv_file, root); } /* Code ***********************************************************************/ |