From 2758ab91d1824db4c8f59e58027496fac8fd9b2f Mon Sep 17 00:00:00 2001 From: Armin Wolf Date: Mon, 5 May 2025 06:31:36 +0200 Subject: [PATCH] Fix case insensitivity for the ID qualifier The BMOF data bundled with the MSI OEM software has its ID qualifiers in lower-case. Use strcasecmp() to handle both upper-case and lower-case variants. Signed-off-by: Armin Wolf --- bmfparse.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bmfparse.c b/bmfparse.c index 0f7456e..76f00f9 100644 --- a/bmfparse.c +++ b/bmfparse.c @@ -518,7 +518,7 @@ static void parse_class_method_parameters(char *buf, uint32_t size, struct mof_m for (k=0; k