From 206f543eae8511d6bd65dcafdf8d80358bf393f7 Mon Sep 17 00:00:00 2001 From: tn143363 Date: Sat, 28 Apr 2007 19:31:51 -0700 Subject: 6444783 config parameters in private rcap.conf should be moved to the repository (fix lint) --- usr/src/cmd/rcap/rcapstat/rcapstat.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr/src') diff --git a/usr/src/cmd/rcap/rcapstat/rcapstat.c b/usr/src/cmd/rcap/rcapstat/rcapstat.c index 47eca3f2fa..a22a40f50d 100644 --- a/usr/src/cmd/rcap/rcapstat/rcapstat.c +++ b/usr/src/cmd/rcap/rcapstat/rcapstat.c @@ -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 @@ print_stats(rcid_type_t stat_type) 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 @@ main(int argc, char *argv[]) (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)); } } -- cgit v1.2.3