Date: Wed, 17 Nov 2004 04:27:18 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/gpt create.c migrate.c Message-ID: <200411170427.iAH4RI3q024423@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2004-11-17 04:27:18 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) sbin/gpt create.c migrate.c Log: MFC create.c:1.9, migrate.c:1.12: Fix a braino: the partition size in the PMBR is in sectors, not bytes and 'mediasz' is in bytes. As it so happens, we define 'last' as the sector number of the last sector on the medium which also is the size of the PMBR partition. Therefore, use 'last' instead of 'mediasz'. Revision Changes Path 1.6.2.2 +5 -5 src/sbin/gpt/create.c 1.7.2.4 +3 -3 src/sbin/gpt/migrate.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411170427.iAH4RI3q024423>