Mercurial > illumos > illumos-gate
changeset 4131:125b20be6798
6444783 config parameters in private rcap.conf should be moved to the repository (fix lint)
author | tn143363 |
---|---|
date | Sat, 28 Apr 2007 19:31:51 -0700 |
parents | 911492017606 |
children | a454cf8a2c90 |
files | usr/src/cmd/rcap/rcapstat/rcapstat.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/cmd/rcap/rcapstat/rcapstat.c Sat Apr 28 07:47:57 2007 -0700 +++ b/usr/src/cmd/rcap/rcapstat/rcapstat.c Sat Apr 28 19:31:51 2007 -0700 @@ -19,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2006 Sun Microsystems, Inc. All rights reserved. + * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -325,7 +325,7 @@ continue; if (col->col_paged_att == 0) - strlcpy(nproc, "-", sizeof (nproc)); + (void) strlcpy(nproc, "-", sizeof (nproc)); else (void) snprintf(nproc, sizeof (nproc), "%lld", col->col_nproc); @@ -413,7 +413,7 @@ (void) fflush(stdout); while (stat(STAT_FILE_DEFAULT, &st) == 0 && st.st_mtime == stat_mod) - usleep((useconds_t)(0.2 * MICROSEC)); + (void) usleep((useconds_t)(0.2 * MICROSEC)); } }