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