15
0

- Add patch fix-loglevel.patch to fix invalid log level error.

gh#nima/python-dmidecode#60 bsc#1237685

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dmidecode?expand=0&rev=36
This commit is contained in:
2025-03-03 10:58:13 +00:00
committed by Git OBS Bridge
parent c311896e40
commit ae4e5ce904
3 changed files with 21 additions and 1 deletions

12
fix-loglevel.patch Normal file
View File

@@ -0,0 +1,12 @@
diff --color -Naur python-dmidecode-3.12.3-orig/src/efi.c python-dmidecode-3.12.3/src/efi.c
--- python-dmidecode-3.12.3-orig/src/efi.c 2022-11-17 06:51:28
+++ python-dmidecode-3.12.3/src/efi.c 2025-02-25 14:25:32
@@ -84,7 +84,7 @@
}
if(ret == 0){
- log_append(logp, LOGFL_NODUPS, LOG_DEBUG, "%s: entry point at 0x%08llx", eptype, (unsigned long long)*address);
+ log_append(logp, LOGFL_NODUPS, LOG_WARNING, "%s: entry point at 0x%08llx", eptype, (unsigned long long)*address);
}
return ret;