diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-03-22 19:36:45 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-03-22 19:36:45 -0600 |
commit | 488bdd5e4120b684e449b9567169d0416e65276c (patch) | |
tree | 9560a18fc2c0ea09fa35715541be24c11792ed23 /lib9p/9p.c | |
parent | 185c3329145959433b8b805de5f114b66b8fcaee (diff) | |
parent | 6322636192c57a472176c65257b2b8487f79434e (diff) |
Merge branch 'lukeshu/9p-idl'
Diffstat (limited to 'lib9p/9p.c')
-rw-r--r-- | lib9p/9p.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |