summaryrefslogtreecommitdiffstats
path: root/fdisk/fdisksgilabel.h
diff options
context:
space:
mode:
authorKarel Zak2007-05-30 17:10:43 +0200
committerKarel Zak2007-05-31 15:00:50 +0200
commitbe97c5f361eafdcbfe844b0d9ebb93ad893be1e3 (patch)
tree726f8cfc7387b9e921e7de6528483b5fea2e893f /fdisk/fdisksgilabel.h
parentmount: clean up info about NFS in mount.8 (diff)
downloadkernel-qcow2-util-linux-be97c5f361eafdcbfe844b0d9ebb93ad893be1e3.tar.gz
kernel-qcow2-util-linux-be97c5f361eafdcbfe844b0d9ebb93ad893be1e3.tar.xz
kernel-qcow2-util-linux-be97c5f361eafdcbfe844b0d9ebb93ad893be1e3.zip
fdisk: use unsigned long long instead int for sectors
The patch is originally based on an old Suse patch. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'fdisk/fdisksgilabel.h')
-rw-r--r--fdisk/fdisksgilabel.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/fdisk/fdisksgilabel.h b/fdisk/fdisksgilabel.h
index a230196b4..fa992fc64 100644
--- a/fdisk/fdisksgilabel.h
+++ b/fdisk/fdisksgilabel.h
@@ -103,8 +103,9 @@ typedef struct {
/* fdisk.c */
#define sgilabel ((sgi_partition *)MBRbuffer)
#define sgiparam (sgilabel->devparam)
-extern char MBRbuffer[MAX_SECTOR_SIZE];
-extern unsigned int heads, sectors, cylinders, sector_size;
+extern unsigned char MBRbuffer[MAX_SECTOR_SIZE];
+extern unsigned int heads, cylinders, sector_size;
+extern unsigned long long sectors;
extern int show_begin;
extern int sgi_label;
extern char *partition_type(unsigned char type);