Print this page
5863 psiginfo arguments should be const
Reviewed by: Andy Stormont <astormont@racktopsystems.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>

@@ -16,21 +16,22 @@
  * fields enclosed by brackets "[]" replaced with your own identifying
  * information: Portions Copyright [yyyy] [name of copyright owner]
  *
  * CDDL HEADER END
  */
+/*
+ * Copyright 2015 Circonus, Inc.  All rights reserved.
+ */
 
 /*
  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
 /*      Copyright (c) 1988 AT&T */
 /*        All Rights Reserved   */
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"
-
 /*
  * Print the name of the siginfo indicated by "sig", along with the
  * supplied message
  */
 

@@ -44,11 +45,11 @@
 #include <siginfo.h>
 
 #define strsignal(i)    (_libc_gettext(_sys_siglistp[i]))
 
 void
-psiginfo(siginfo_t *sip, char *s)
+psiginfo(const siginfo_t *sip, const char *s)
 {
         char buf[256];
         char *c;
         const struct siginfolist *listp;