summaryrefslogtreecommitdiffstats
path: root/sys/dev/vinum/vinumvar.h
diff options
context:
space:
mode:
authorgrog <grog@FreeBSD.org>1999-07-02 07:56:47 +0000
committergrog <grog@FreeBSD.org>1999-07-02 07:56:47 +0000
commit52684f85e74768556e8d318b2d2816bbe4ebed5b (patch)
treee8fa96ac0b384b01e3714f3a38f265cd21d09418 /sys/dev/vinum/vinumvar.h
parent231fb1813c7d78708c9af3b5b6ade99800530e7f (diff)
downloadFreeBSD-src-52684f85e74768556e8d318b2d2816bbe4ebed5b.zip
FreeBSD-src-52684f85e74768556e8d318b2d2816bbe4ebed5b.tar.gz
Change the type of the freelist sectors variable to u_int64_t in
order to ensure that initializers will be of correct type.
Diffstat (limited to 'sys/dev/vinum/vinumvar.h')
-rw-r--r--sys/dev/vinum/vinumvar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/vinum/vinumvar.h b/sys/dev/vinum/vinumvar.h
index 594a087..d914dd8 100644
--- a/sys/dev/vinum/vinumvar.h
+++ b/sys/dev/vinum/vinumvar.h
@@ -378,8 +378,8 @@ struct drive {
int freelist_size; /* number of entries alloced in free list */
int freelist_entries; /* number of entries used in free list */
struct drive_freelist { /* sorted list of free space on drive */
- u_int64_t offset;
- long sectors;
+ u_int64_t offset; /* offset of entry */
+ u_int64_t sectors; /* and length in sectors */
} *freelist;
#ifdef VINUMDEBUG
char lockfilename[16]; /* name of file from which we were locked */
OpenPOWER on IntegriCloud