CVSROOT:        /cvs
Module name:    src
Changes by:     k...@cvs.openbsd.org    2009/05/12 19:31:59

Modified files:
        sbin/disklabel : editor.c 
        sys/arch/luna88k/luna88k: disksubr.c 
        sys/arch/sgi/sgi: disksubr.c 
        sys/arch/sparc/sparc: disksubr.c 
        sys/arch/sparc64/sparc64: disksubr.c 

Log message:
Set D_VENDOR when spoofing a label on archs that use D_VENDOR when
reading the native disklabel. This ensures cylinder alignment.

Fix disklabel to do cylinder alignment arithmetic correctly in -A
mode. Worked by accident before, since the code was protected by
D_VENDOR, which wasn't being set.

ok deraadt@

Reply via email to