summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authortn143363 <none@none>2007-04-28 19:31:51 -0700
committertn143363 <none@none>2007-04-28 19:31:51 -0700
commit206f543eae8511d6bd65dcafdf8d80358bf393f7 (patch)
treeb6ecda2d9e69be4904e341d20e161459145a8868 /usr/src
parenta0d2693b5bf5a7289359c375c2cb075f9d9ce9f7 (diff)
downloadillumos-gate-206f543eae8511d6bd65dcafdf8d80358bf393f7.tar.gz
6444783 config parameters in private rcap.conf should be moved to the repository (fix lint)
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/cmd/rcap/rcapstat/rcapstat.c6
1 files changed, 3 insertions, 3 deletions
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));
}
}