summaryrefslogtreecommitdiff
path: root/usr/src/lib/libcpc
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libcpc')
-rw-r--r--usr/src/lib/libcpc/common/obsoleted.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/lib/libcpc/common/obsoleted.c b/usr/src/lib/libcpc/common/obsoleted.c
index 776945dd23..7c6d3b805e 100644
--- a/usr/src/lib/libcpc/common/obsoleted.c
+++ b/usr/src/lib/libcpc/common/obsoleted.c
@@ -20,7 +20,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -145,13 +145,13 @@ cpc_take_sample(cpc_event_t *this)
int
cpc_count_usr_events(int enable)
{
- return (syscall(SYS_cpc, CPC_USR_EVENTS, -1, (void *)enable, 0));
+ return (syscall(SYS_cpc, CPC_USR_EVENTS, -1, enable, 0));
}
int
cpc_count_sys_events(int enable)
{
- return (syscall(SYS_cpc, CPC_SYS_EVENTS, -1, (void *)enable, 0));
+ return (syscall(SYS_cpc, CPC_SYS_EVENTS, -1, enable, 0));
}
int