From 3c81ce9b5d5c8a009b60cc2d09b2dd41d1866d02 Mon Sep 17 00:00:00 2001 From: kn Date: Wed, 24 Jun 2020 23:56:02 +0000 Subject: Remove obsolete comment about "extra nulls" Those were removed in r1.39 in 2004. --- usr.bin/top/machine.c | 7 +------ 1 file changed, 1 insertion(+), 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 @@ -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" }; -- cgit v1.2.3