summaryrefslogtreecommitdiff
path: root/usr.sbin/sa
diff options
context:
space:
mode:
authorRodney W. Grimes <rgrimes@FreeBSD.org>1995-05-30 03:57:47 +0000
committerRodney W. Grimes <rgrimes@FreeBSD.org>1995-05-30 03:57:47 +0000
commit709e8f9ae1d734c1a163c9b421df4b8153939ce7 (patch)
tree15a9c7203efd47ba6dde2896fdb6327dddd4547f /usr.sbin/sa
parent010f5413b5781bc362fde190ec835a424ec8d28e (diff)
downloadsrc-test2-709e8f9ae1d734c1a163c9b421df4b8153939ce7.tar.gz
src-test2-709e8f9ae1d734c1a163c9b421df4b8153939ce7.zip
Notes
Diffstat (limited to 'usr.sbin/sa')
-rw-r--r--usr.sbin/sa/main.c8
-rw-r--r--usr.sbin/sa/pdb.c6
-rw-r--r--usr.sbin/sa/usrdb.c8
3 files changed, 11 insertions, 11 deletions
diff --git a/usr.sbin/sa/main.c b/usr.sbin/sa/main.c
index dac27240c4f5..2f1e95a20765 100644
--- a/usr.sbin/sa/main.c
+++ b/usr.sbin/sa/main.c
@@ -29,11 +29,11 @@
*/
#ifndef LINT
-static char copright[] =
+static char copright[] =
"@(#) Copyright (c) 1994 Christopher G. Demetriou\n\
All rights reserved.\n";
-static char rcsid[] = "$Id: main.c,v 1.1 1994/03/24 18:41:51 cgd Exp $";
+static char rcsid[] = "$Id: main.c,v 1.1.1.1 1994/09/26 21:22:56 davidg Exp $";
#endif
/*
@@ -167,7 +167,7 @@ main(argc, argv)
break;
case '?':
default:
- (void)fprintf(stderr,
+ (void)fprintf(stderr,
"usage: sa [-abcdDfijkKlmnqrstu] [-v cutoff] [file ...]\n");
exit(1);
}
@@ -221,7 +221,7 @@ main(argc, argv)
unmask = 0;
error = 1;
}
- if (unmask &&
+ if (unmask &&
(sigprocmask(SIG_BLOCK, &nmask, &omask) == -1)) {
warn("couldn't set signal mask ");
unmask = 0;
diff --git a/usr.sbin/sa/pdb.c b/usr.sbin/sa/pdb.c
index 083f9daa87da..1ccbe90ef43a 100644
--- a/usr.sbin/sa/pdb.c
+++ b/usr.sbin/sa/pdb.c
@@ -29,7 +29,7 @@
*/
#ifndef LINT
-static char rcsid[] = "$Id: pdb.c,v 1.1 1994/03/24 18:41:54 cgd Exp $";
+static char rcsid[] = "$Id: pdb.c,v 1.1.1.1 1994/09/26 21:22:56 davidg Exp $";
#endif
#include <sys/types.h>
@@ -136,10 +136,10 @@ pacct_add(ci)
bzero(&newci, sizeof newci);
bcopy(key.data, newci.ci_comm, key.size);
}
-
+
add_ci(ci, &newci);
- data.data = &newci;
+ data.data = &newci;
data.size = sizeof newci;
rv = DB_PUT(pacct_db, &key, &data, 0);
if (rv < 0) {
diff --git a/usr.sbin/sa/usrdb.c b/usr.sbin/sa/usrdb.c
index af7d0fdbad40..4d383b76e193 100644
--- a/usr.sbin/sa/usrdb.c
+++ b/usr.sbin/sa/usrdb.c
@@ -29,7 +29,7 @@
*/
#ifndef LINT
-static char rcsid[] = "$Id: usrdb.c,v 1.1 1994/03/24 18:42:01 cgd Exp $";
+static char rcsid[] = "$Id: usrdb.c,v 1.1.1.1 1994/09/26 21:22:57 davidg Exp $";
#endif
#include <sys/types.h>
@@ -84,7 +84,7 @@ usracct_init()
warn("initializing user accounting stats");
error = -1;
break;
- }
+ }
serr = DB_SEQ(saved_usracct_db, &key, &data, R_NEXT);
if (serr < 0) {
@@ -151,7 +151,7 @@ usracct_add(ci)
newui.ui_mem += ci->ci_mem;
newui.ui_io += ci->ci_io;
- data.data = &newui;
+ data.data = &newui;
data.size = sizeof newui;
rv = DB_PUT(usracct_db, &key, &data, 0);
if (rv < 0) {
@@ -272,7 +272,7 @@ uid_compare(k1, k2)
bcopy(k1->data, &d1, sizeof d1);
bcopy(k2->data, &d2, sizeof d2);
-
+
if (d1 < d2)
return -1;
else if (d1 == d2)