Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/utils/sysinst When converting the end of a partition...
details: https://anonhg.NetBSD.org/src/rev/1da77a8240ac
branches: trunk
changeset: 475067:1da77a8240ac
user: fvdl <fvdl%NetBSD.org@localhost>
date: Fri Jul 30 20:46:10 1999 +0000
description:
When converting the end of a partition to CHS, use start + size - 1, not
start + size.
diffstat:
distrib/utils/sysinst/mbr.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 105116036405 -r 1da77a8240ac distrib/utils/sysinst/mbr.c
--- a/distrib/utils/sysinst/mbr.c Fri Jul 30 20:42:16 1999 +0000
+++ b/distrib/utils/sysinst/mbr.c Fri Jul 30 20:46:10 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mbr.c,v 1.18 1999/07/10 23:07:15 fvdl Exp $ */
+/* $NetBSD: mbr.c,v 1.19 1999/07/30 20:46:10 fvdl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -469,7 +469,7 @@
&mbrp[i].mbrp_ssect, pstart);
convert_mbr_chs(bcyl, bhead, bsec,
&mbrp[i].mbrp_ecyl, &mbrp[i].mbrp_ehd,
- &mbrp[i].mbrp_esect, pstart + psize);
+ &mbrp[i].mbrp_esect, pstart + psize - 1);
}
}
}
Home |
Main Index |
Thread Index |
Old Index