diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-03-14 18:16:52 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-03-22 16:22:29 -0600 |
commit | 83b1f50d4d5d5fdba71e27a833e550f06262cdb5 (patch) | |
tree | 37817386b5c144d8da0aa86eb6f6dddac39c5918 /lib9p/idl.gen | |
parent | d2ef29ecf234aceb81d300f276d1f5704617d94d (diff) |
lib9p: Declare lib9p_errorf as printf-like, fix found errors
Diffstat (limited to 'lib9p/idl.gen')
-rwxr-xr-x | lib9p/idl.gen | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib9p/idl.gen b/lib9p/idl.gen index db5f37d..5fb2dd3 100755 --- a/lib9p/idl.gen +++ b/lib9p/idl.gen @@ -1170,7 +1170,7 @@ LM_ALWAYS_INLINE static void unmarshal_8(struct _unmarshal_ctx *ctx, uint64_t *o ) ret += "\tif (needed_size > ctx->ctx->max_msg_size) {\n" if isinstance(typ, idl.Message): # SPECIAL (disable for stat) - ret += f'\t\tlib9p_errorf(ctx->ctx, LINUX_ERANGE, "%s message too large to marshal into %s limit (limit=%PRIu32)",\n' + ret += f'\t\tlib9p_errorf(ctx->ctx, LINUX_ERANGE, "%s message too large to marshal into %s limit (limit=%"PRIu32")",\n' ret += f'\t\t\t"{typ.name}",\n' ret += f'\t\t\tctx->ctx->version ? "negotiated" : "{'client' if typ.msgid % 2 == 0 else 'server'}",\n' ret += "\t\t\tctx->ctx->max_msg_size);\n" |