From 0e2501bd51a8897881b1ce2b451ebbbccc30d821 Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Mon, 18 Sep 2023 21:59:39 +0300 Subject: [PATCH] syscalls: generate proper name --- src/openpower/syscalls/__main__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/openpower/syscalls/__main__.py b/src/openpower/syscalls/__main__.py index 6cec7fb3..716c9c0d 100644 --- a/src/openpower/syscalls/__main__.py +++ b/src/openpower/syscalls/__main__.py @@ -60,7 +60,9 @@ def collect_sysargs(tree): match = match.group(2).replace("\t", "").replace("\n", "") (name, *arguments) = map(str.strip, match.split(",")) if compat: - name = f"compat_{name}" + name = f"compat_sys_{name}" + else: + name = f"sys_{name}" yield (name, dict(zip(arguments[1::2], arguments[0::2]))) -- 2.30.2