diff options
author | Daniel Lockyer <daniellockyer@fastmail.com> | 2022-12-27 12:27:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-27 12:27:47 +0100 |
commit | d86ac5536d147f4fdf60ae3e232b3c15387b0d88 (patch) | |
tree | 11bdce6c5c18e7e18b1deb0d86146c00a1b26f53 /psutil | |
parent | f0a0d6d0771f5bd8b1df8e5a8d2b8991870533a5 (diff) | |
download | psutil-d86ac5536d147f4fdf60ae3e232b3c15387b0d88.tar.gz |
Fixed typo in debug message (#2187)
- this should be referring to `sysctl`, like the statement below
Diffstat (limited to 'psutil')
-rw-r--r-- | psutil/arch/osx/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/psutil/arch/osx/cpu.c b/psutil/arch/osx/cpu.c index 2d94f31d..6e564718 100644 --- a/psutil/arch/osx/cpu.c +++ b/psutil/arch/osx/cpu.c @@ -127,7 +127,7 @@ psutil_cpu_freq(PyObject *self, PyObject *args) { return PyErr_SetFromOSErrnoWithSyscall("sysctl(HW_CPU_FREQ)"); if (sysctlbyname("hw.cpufrequency_min", &min, &size, NULL, 0)) - psutil_debug("sysct('hw.cpufrequency_min') failed (set to 0)"); + psutil_debug("sysctl('hw.cpufrequency_min') failed (set to 0)"); if (sysctlbyname("hw.cpufrequency_max", &max, &size, NULL, 0)) psutil_debug("sysctl('hw.cpufrequency_min') failed (set to 0)"); |