diff options
author | Jerry Jelinek <jerry.jelinek@joyent.com> | 2019-04-19 12:33:00 +0000 |
---|---|---|
committer | Jerry Jelinek <jerry.jelinek@joyent.com> | 2019-04-19 12:33:00 +0000 |
commit | dc2a4177cf7c52e616cda6ed9f21279440d7122c (patch) | |
tree | 4743942265790305b06ae836b69df724c9d3d383 | |
parent | 4e3555feec20f8dd09df4f690379fd4b71aad5e8 (diff) | |
parent | 0e9010a07773b58f294e1a0824eebea0b9f37eb8 (diff) | |
download | illumos-joyent-dc2a4177cf7c52e616cda6ed9f21279440d7122c.tar.gz |
[illumos-gate merge]
commit 0e9010a07773b58f294e1a0824eebea0b9f37eb8
10755 pset: NULL pointer errors
-rw-r--r-- | usr/src/uts/common/syscall/pset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/syscall/pset.c b/usr/src/uts/common/syscall/pset.c index 645f005177..6f07961c8a 100644 --- a/usr/src/uts/common/syscall/pset.c +++ b/usr/src/uts/common/syscall/pset.c @@ -769,7 +769,7 @@ pset_list(psetid_t *psetlist, uint_t *numpsets) psets[0] = psetid; } } else { - real_npsets = cpupart_list(0, NULL, CP_ALL); + real_npsets = cpupart_list(NULL, 0, CP_ALL); if (real_npsets) { psets = kmem_alloc(real_npsets * sizeof (psetid_t), KM_SLEEP); |