summaryrefslogtreecommitdiff
path: root/usr.sbin/kgmon/kgmon.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-09-17 13:42:36 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-09-17 13:42:36 +0000
commit138062ad575566981381722e3765f55196aaf257 (patch)
tree468b25d980602050caf48e3fd2d1702fc2167e48 /usr.sbin/kgmon/kgmon.c
parent6d3ed1b0b686c6e667b17a50a856ad0cb704d290 (diff)
I'm sure that it's not supposed to say:
'off: kernel profiling is kgmon.'
Diffstat (limited to 'usr.sbin/kgmon/kgmon.c')
-rw-r--r--usr.sbin/kgmon/kgmon.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/kgmon/kgmon.c b/usr.sbin/kgmon/kgmon.c
index 3e66b3e5fe8..4f5d109d86d 100644
--- a/usr.sbin/kgmon/kgmon.c
+++ b/usr.sbin/kgmon/kgmon.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kgmon.c,v 1.5 2001/05/05 07:32:39 mickey Exp $ */
+/* $OpenBSD: kgmon.c,v 1.6 2001/09/17 13:42:35 art Exp $ */
/*
* Copyright (c) 1983, 1992, 1993
@@ -41,7 +41,7 @@ static char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)kgmon.c 8.1 (Berkeley) 6/6/93";*/
-static char *rcsid = "$OpenBSD: kgmon.c,v 1.5 2001/05/05 07:32:39 mickey Exp $";
+static char *rcsid = "$OpenBSD: kgmon.c,v 1.6 2001/09/17 13:42:35 art Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -158,8 +158,8 @@ main(int argc, char **argv)
reset(&kvmvars);
if (accessmode == O_RDWR)
setprof(&kvmvars, disp);
- printf("%s: kernel profiling is %s.\n",
- disp == GMON_PROF_OFF ? "off" : "running", __progname);
+ printf("%s: kernel profiling is %s.\n", __progname,
+ disp == GMON_PROF_OFF ? "off" : "running");
return (0);
}