Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/i386/floppies/fdset-common Minor cleanup in previous.



details:   https://anonhg.NetBSD.org/src/rev/c71dadadf7b7
branches:  trunk
changeset: 485793:c71dadadf7b7
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Fri May 05 21:08:01 2000 +0000

description:
Minor cleanup in previous.

diffstat:

 distrib/i386/floppies/fdset-common/Makefile.inc |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 2e3022b14fef -r c71dadadf7b7 distrib/i386/floppies/fdset-common/Makefile.inc
--- a/distrib/i386/floppies/fdset-common/Makefile.inc   Fri May 05 21:01:35 2000 +0000
+++ b/distrib/i386/floppies/fdset-common/Makefile.inc   Fri May 05 21:08:01 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.14 2000/05/05 21:01:35 mycroft Exp $
+#      $NetBSD: Makefile.inc,v 1.15 2000/05/05 21:08:01 mycroft Exp $
 
 # TOP is assumed to be defined by Makefile including this one.
 
@@ -38,7 +38,7 @@
        vnconfig -u ${VND_CDEV}
        @ls -l ${FSTMP} | (read mode links uid gid size junk; \
                dksize=$$((${DISKSIZE} * 512 - 8 * 1024)); \
-               disks=$$((($$size / (${DISKSIZE} * 512 - 8 * 1024)) + 1)); \
+               disks=$$(($$size / $$dksize + 1)); \
                if test $$size -gt $$dksize; then \
                        d=2; \
                        while test $$d -le $$disks; do \



Home | Main Index | Thread Index | Old Index