OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Kenneth R Westerback (krwcvs.openbsd.org)
Date: Sat Jan 12 2008 - 12:15:23 CST


CVSROOT: /cvs
Module name: src
Changes by: krwcvs.openbsd.org 2008/01/12 11:15:22

Modified files:
        sbin/disklabel : editor.c

Log message:
Introduce the function max_partition_size() to calculate the max size
a partition can be without causing overlap. Use it to eliminate the
need to check overlap in get_size() and to make the (c)hange command
message more meaningful, i.e. mention max size allowed not the amount
of total free space.