Source-Changes-HG archive

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

[src/netbsd-1-5]: src/distrib/utils/sysinst Pull up revision 1.24 (requested ...



details:   https://anonhg.NetBSD.org/src/rev/c969a54eee7d
branches:  netbsd-1-5
changeset: 490430:c969a54eee7d
user:      jhawk <jhawk%NetBSD.org@localhost>
date:      Tue Dec 26 02:08:26 2000 +0000

description:
Pull up revision 1.24 (requested by hubertf):
  Correct an error in the calculation of the end of a partition. Fixes PR#7556.

diffstat:

 distrib/utils/sysinst/mbr.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 3374154fc615 -r c969a54eee7d distrib/utils/sysinst/mbr.c
--- a/distrib/utils/sysinst/mbr.c       Tue Dec 26 01:57:54 2000 +0000
+++ b/distrib/utils/sysinst/mbr.c       Tue Dec 26 02:08:26 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mbr.c,v 1.22.2.1 2000/10/18 17:51:14 tv Exp $ */
+/*     $NetBSD: mbr.c,v 1.22.2.2 2000/12/26 02:08:26 jhawk Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -384,7 +384,7 @@
                        if (part[i].mbrp_size % sizemult)
                                rsize++;
                        rend = (part[i].mbrp_start + part[i].mbrp_size) / sizemult;
-                       if ((part[i].mbrp_size + part[i].mbrp_size) % sizemult)
+                       if ((part[i].mbrp_start + part[i].mbrp_size) % sizemult)
                                rend++;
                        msg_table_add(MSG_part_row_start_used, i,
                            part[i].mbrp_start / sizemult, rsize, rend);



Home | Main Index | Thread Index | Old Index