From 7f34046f5b27617b70c1d55f479c2a1abb8b8d8a Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Sat, 19 Apr 2025 12:31:51 -0600 Subject: lib9p: Don't require that CONFIG_9P_ENABLE_9P2000 --- lib9p/core_gen/c_format.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib9p/core_gen/c_format.py') diff --git a/lib9p/core_gen/c_format.py b/lib9p/core_gen/c_format.py index f9eee90..c633fbb 100644 --- a/lib9p/core_gen/c_format.py +++ b/lib9p/core_gen/c_format.py @@ -105,7 +105,7 @@ def gen_c_format(versions: set[str], typs: list[idl.UserType]) -> str: ret += "\tif (empty)\n" ret += "\t\tfmt_state_putchar(state, '0');\n" ret += "\tfmt_state_putchar(state, ')');\n" - case idl.Struct(typname="s"): # SPECIAL(string) + case idl.Struct(typname="s"): # SPECIAL (string) ret += ext_printf( '\tfmt_state_printf(state, "%.*q", self->len, self->utf8);\n' ) -- cgit v1.2.3-2-g168b