summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Levon <john.levon@joyent.com>2020-03-12 07:23:35 -0700
committerJohn Levon <john.levon@joyent.com>2020-03-16 02:44:38 -0700
commit17abec598417b0120193b3ad4e5390d5d8682014 (patch)
tree1e8359c5614d3b4f1eb1b09882c536ed6eea6192
parent584b574a3b16c6772c8204ec1d1c957c56f22a87 (diff)
downloadillumos-joyent-17abec598417b0120193b3ad4e5390d5d8682014.tar.gz
12385 tst.subr.d needs fixing for NULL as a pointer
Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r--usr/src/cmd/dtrace/test/tst/common/aggs/tst.subr.d6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/cmd/dtrace/test/tst/common/aggs/tst.subr.d b/usr/src/cmd/dtrace/test/tst/common/aggs/tst.subr.d
index ccafc2edd1..04ce1eefe5 100644
--- a/usr/src/cmd/dtrace/test/tst/common/aggs/tst.subr.d
+++ b/usr/src/cmd/dtrace/test/tst/common/aggs/tst.subr.d
@@ -22,7 +22,7 @@
/*
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
- * Copyright (c) 2012, Joyent, Inc. All rights reserved.
+ * Copyright 2020 Joyent, Inc.
*/
#include <sys/dtrace.h>
@@ -61,8 +61,8 @@ INTFUNC(mutex_type_spin(&`cpu_lock))
INTFUNC(rw_read_held(&`vfssw_lock))
INTFUNC(rw_write_held(&`vfssw_lock))
INTFUNC(rw_iswriter(&`vfssw_lock))
-INTFUNC(copyin(NULL, 1))
-STRFUNC(copyinstr(NULL, 1))
+INTFUNC(copyin((uintptr_t)NULL, 1))
+STRFUNC(copyinstr((uintptr_t)NULL, 1))
INTFUNC(speculation())
INTFUNC(progenyof($pid))
INTFUNC(strlen("fooey"))