=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/systat/swap.c,v retrieving revision 1.9 retrieving revision 1.10 diff -c -r1.9 -r1.10 *** src/usr.bin/systat/swap.c 1997/06/23 22:21:49 1.9 --- src/usr.bin/systat/swap.c 1998/11/22 23:29:37 1.10 *************** *** 1,4 **** ! /* $OpenBSD: swap.c,v 1.9 1997/06/23 22:21:49 millert Exp $ */ /* $NetBSD: swap.c,v 1.5 1996/05/10 23:16:38 thorpej Exp $ */ /*- --- 1,4 ---- ! /* $OpenBSD: swap.c,v 1.10 1998/11/22 23:29:37 kstailey Exp $ */ /* $NetBSD: swap.c,v 1.5 1996/05/10 23:16:38 thorpej Exp $ */ /*- *************** *** 38,44 **** #if 0 static char sccsid[] = "@(#)swap.c 8.3 (Berkeley) 4/29/95"; #endif ! static char rcsid[] = "$OpenBSD: swap.c,v 1.9 1997/06/23 22:21:49 millert Exp $"; #endif /* not lint */ /* --- 38,44 ---- #if 0 static char sccsid[] = "@(#)swap.c 8.3 (Berkeley) 4/29/95"; #endif ! static char rcsid[] = "$OpenBSD: swap.c,v 1.10 1998/11/22 23:29:37 kstailey Exp $"; #endif /* not lint */ /* *************** *** 262,267 **** --- 262,268 ---- used = avail - nfree; mvwprintw(wnd, i + 1, 0, "%-5s%*d%9d ", "Total", hlen, avail / div, used / div); + wclrtoeol(wnd); for (j = (100 * used / avail + 1) / 2; j > 0; j--) waddch(wnd, 'X'); }