=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/top/commands.c,v retrieving revision 1.32 retrieving revision 1.33 diff -u -r1.32 -r1.33 --- src/usr.bin/top/commands.c 2017/03/15 04:24:14 1.32 +++ src/usr.bin/top/commands.c 2019/10/08 07:26:59 1.33 @@ -1,4 +1,4 @@ -/* $OpenBSD: commands.c,v 1.32 2017/03/15 04:24:14 deraadt Exp $ */ +/* $OpenBSD: commands.c,v 1.33 2019/10/08 07:26:59 kn Exp $ */ /* * Top users/processes display for Unix @@ -46,10 +46,10 @@ #include #include #include +#include #include "top.h" -#include "boolean.h" #include "utils.h" #include "machine.h" @@ -158,7 +158,7 @@ static char * err_string(void) { - int cnt = 0, first = Yes, currerr = -1; + int cnt = 0, first = true, currerr = -1; static char string[STRMAX]; struct errs *errp; @@ -186,13 +186,13 @@ (void) strlcat(string, "; ", sizeof string); } currerr = errp->err; - first = Yes; + first = true; } if (str_addarg(string, sizeof string, errp->arg, first) >= sizeof string) return (err_listem); - first = No; + first = false; } /* add final message */