diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2014-03-23 13:56:25 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2014-03-23 13:56:25 +0000 |
commit | 264e4c5997cbcfd5bc288d0356c3dd63581b9f1f (patch) | |
tree | 601c2fbc94e77edeea36f5658c26a9eefa43cad3 | |
parent | 7c80f808f2a6f2f74648b2456aa6b00cbb3691b8 (diff) |
Change struct mbr signature field type from 'unsigned short' to
'u_int16_t' to be consistant with disklabel.h's struct dos_mbr.
-rw-r--r-- | sbin/fdisk/mbr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/fdisk/mbr.h b/sbin/fdisk/mbr.h index 776452c6411..d01e1f9a7c3 100644 --- a/sbin/fdisk/mbr.h +++ b/sbin/fdisk/mbr.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mbr.h,v 1.16 2014/03/17 16:40:00 krw Exp $ */ +/* $OpenBSD: mbr.h,v 1.17 2014/03/23 13:56:24 krw Exp $ */ /* * Copyright (c) 1997 Tobias Weingartner @@ -33,7 +33,7 @@ struct mbr { off_t offset; unsigned char code[DOSPARTOFF]; struct prt part[NDOSPART]; - unsigned short signature; + u_int16_t signature; }; void MBR_print_disk(char *); |