CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2013/09/10 09:17:47
Modified files:
sbin/disklabel : disklabel.c editor.c
Log message:
The rule is: daddr_t variables hold counts of 512-byte blocks, a.k.a.
DEV_BSIZE blocks. Counts of possibly other-sized blocks (e.g. disk
sector addresses) are u_int64_t. The values stored in disklabels are
counts of possibly other-sized blocks and hence should be handled with
u_int64_t variables.
Start enforcing this rule. No intended functional change.
Rule strongly suggested by deraadt@