From b490b5d51af6ed29709c357a00fcdb6bda26df78 Mon Sep 17 00:00:00 2001 From: Giampaolo Rodola Date: Tue, 30 Nov 2021 09:48:40 +0100 Subject: fix missing arg passed to C psutil_debug() Signed-off-by: Giampaolo Rodola --- psutil/arch/windows/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'psutil/arch') diff --git a/psutil/arch/windows/cpu.c b/psutil/arch/windows/cpu.c index 355de6df..20c01a0d 100644 --- a/psutil/arch/windows/cpu.c +++ b/psutil/arch/windows/cpu.c @@ -215,7 +215,7 @@ psutil_cpu_count_cores(PyObject *self, PyObject *args) { } } else { - psutil_debug("GetLogicalProcessorInformationEx() returned ", + psutil_debug("GetLogicalProcessorInformationEx() returned %u", GetLastError()); goto return_none; } -- cgit v1.2.1