diff options
| author | Giampaolo Rodola <g.rodola@gmail.com> | 2023-03-29 00:02:18 +0200 |
|---|---|---|
| committer | Giampaolo Rodola <g.rodola@gmail.com> | 2023-03-29 00:02:18 +0200 |
| commit | c81248b02928f12e84e2bd3cdf2da29d15b5f5b8 (patch) | |
| tree | 4248e0b192424620df9c15f2660f243da9d87014 /scripts | |
| parent | cbb5ca34d719044f7ffb35ee181dbdfdbc78cb2b (diff) | |
| download | psutil-c81248b02928f12e84e2bd3cdf2da29d15b5f5b8.tar.gz | |
fix C compilation warning on Linux + Python 2
psutil/_psutil_linux.c: In function ‘psutil_proc_cpu_affinity_set’:
psutil/_psutil_linux.c:317:80: warning: unknown conversion type character ‘R’ in format [-Wformat=]
317 | return PyErr_Format(PyExc_TypeError, "sequence argument expected, got %R", Py_TYPE(py_cpu_set));
| ^
psutil/_psutil_linux.c:317:46: warning: too many arguments for format [-Wformat-extra-args]
317 | return PyErr_Format(PyExc_TypeError, "sequence argument expected, got %R", Py_TYPE(py_cpu_set));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
creating build/lib.linux-x86_64-2.7
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
