mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
609 B

  1. --- ./libparted/linux.c.orig 2004-02-11 00:18:55.623764288 +0000
  2. +++ ./libparted/linux.c 2004-02-11 00:19:35.662677448 +0000
  3. @@ -164,7 +164,7 @@
  4. #define BLKSSZGET _IO(0x12,104) /* get block device sector size */
  5. #define BLKGETLASTSECT _IO(0x12,108) /* get last sector of block device */
  6. #define BLKSETLASTSECT _IO(0x12,109) /* set last sector of block device */
  7. -#define BLKGETSIZE64 _IOR(0x12,114,sizeof(uint64_t)) /* return device size in bytes (u64 *arg) */
  8. +#define BLKGETSIZE64 _IOR(0x12,114,size_t) /* return device size in bytes (u64 *arg) */
  9. struct blkdev_ioctl_param {
  10. unsigned int block;