summaryrefslogtreecommitdiff
path: root/lib9p/9p.c
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-03-22 19:36:45 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-03-22 19:36:45 -0600
commit488bdd5e4120b684e449b9567169d0416e65276c (patch)
tree9560a18fc2c0ea09fa35715541be24c11792ed23 /lib9p/9p.c
parent185c3329145959433b8b805de5f114b66b8fcaee (diff)
parent6322636192c57a472176c65257b2b8487f79434e (diff)
Merge branch 'lukeshu/9p-idl'
Diffstat (limited to 'lib9p/9p.c')
-rw-r--r--lib9p/9p.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib9p/9p.c b/lib9p/9p.c
index 1caa01a..74a786c 100644
--- a/lib9p/9p.c
+++ b/lib9p/9p.c
@@ -79,7 +79,7 @@ bool lib9p_ctx_has_error(struct lib9p_ctx *ctx) {
return ctx->err_msg[0];
}
-int lib9p_error(struct lib9p_ctx *ctx, uint32_t linux_errno, char const *msg) {
+int lib9p_error(struct lib9p_ctx *ctx, lib9p_errno_t linux_errno, char const *msg) {
if (lib9p_ctx_has_error(ctx))
return -1;
strncpy(ctx->err_msg, msg, sizeof(ctx->err_msg));
@@ -94,7 +94,7 @@ int lib9p_error(struct lib9p_ctx *ctx, uint32_t linux_errno, char const *msg) {
return -1;
}
-int lib9p_errorf(struct lib9p_ctx *ctx, uint32_t linux_errno, char const *fmt, ...) {
+int lib9p_errorf(struct lib9p_ctx *ctx, lib9p_errno_t linux_errno, char const *fmt, ...) {
int n;
va_list args;