summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);