From 83b1f50d4d5d5fdba71e27a833e550f06262cdb5 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Fri, 14 Mar 2025 18:16:52 -0600 Subject: lib9p: Declare lib9p_errorf as printf-like, fix found errors --- lib9p/idl.gen | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib9p/idl.gen') 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" -- cgit v1.2.3-2-g168b