summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2019-04-19 12:33:00 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2019-04-19 12:33:00 +0000
commitdc2a4177cf7c52e616cda6ed9f21279440d7122c (patch)
tree4743942265790305b06ae836b69df724c9d3d383
parent4e3555feec20f8dd09df4f690379fd4b71aad5e8 (diff)
parent0e9010a07773b58f294e1a0824eebea0b9f37eb8 (diff)
downloadillumos-joyent-dc2a4177cf7c52e616cda6ed9f21279440d7122c.tar.gz
[illumos-gate merge]
commit 0e9010a07773b58f294e1a0824eebea0b9f37eb8 10755 pset: NULL pointer errors
-rw-r--r--usr/src/uts/common/syscall/pset.c2
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);