=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/top/machine.c,v retrieving revision 1.13 retrieving revision 1.14 diff -c -r1.13 -r1.14 *** src/usr.bin/top/machine.c 1998/09/20 06:19:14 1.13 --- src/usr.bin/top/machine.c 1998/11/28 02:37:35 1.14 *************** *** 1,4 **** ! /* $OpenBSD: machine.c,v 1.13 1998/09/20 06:19:14 niklas Exp $ */ /* * top - a top users display for Unix --- 1,4 ---- ! /* $OpenBSD: machine.c,v 1.14 1998/11/28 02:37:35 kstailey Exp $ */ /* * top - a top users display for Unix *************** *** 983,991 **** for (i = 0; i < nswdev; i++) { int xsize, xfree; ! xsize = sw[i].sw_nblks; ! xfree = perdev[i]; ! *total += xsize; } /* --- 983,993 ---- for (i = 0; i < nswdev; i++) { int xsize, xfree; ! if (sw[i].sw_flags & SW_FREED) { ! xsize = sw[i].sw_nblks; ! xfree = perdev[i]; ! *total += xsize; ! } } /*