summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkn <kn@cvs.openbsd.org>2020-06-24 23:56:02 +0000
committerkn <kn@cvs.openbsd.org>2020-06-24 23:56:02 +0000
commit3c81ce9b5d5c8a009b60cc2d09b2dd41d1866d02 (patch)
treeadaff37d703c1348cd52a3b51e7cf30cf81689f8
parent4d65dd520db41245b762b0de747afe1abcd5fd29 (diff)
Remove obsolete comment about "extra nulls"
Those were removed in r1.39 in 2004.
-rw-r--r--usr.bin/top/machine.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/usr.bin/top/machine.c b/usr.bin/top/machine.c
index 4ffe48b2db1..a3be604b673 100644
--- a/usr.bin/top/machine.c
+++ b/usr.bin/top/machine.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machine.c,v 1.103 2020/06/23 19:12:47 kn Exp $ */
+/* $OpenBSD: machine.c,v 1.104 2020/06/24 23:56:01 kn Exp $ */
/*-
* Copyright (c) 1994 Thorsten Lockert <tholo@sigmasoft.com>
@@ -83,11 +83,6 @@ static char header[] =
"%5d %-8.8s %3d %4d %5s %5s %-9s %-7.7s %6s %5.2f%% %s"
/* process state names for the "STATE" column of the display */
-/*
- * the extra nulls in the string "run" are for adding a slash and the
- * processor number when needed
- */
-
char *state_abbrev[] = {
"", "start", "run", "sleep", "stop", "zomb", "dead", "onproc"
};