On Jan 12, 2005  14:47 +0000, Alex Owen wrote:
> I believe there is a bug in the definition of BLKGETSIZE64 in
> ext2resize-1.1.19/src/ext2_unix_io.c
> 
> I believe that this patch fixes the problem:
> ---8<---
> --- ext2resize-1.1.19/src/ext2_unix_io.c        2004-09-30 15:04:04.000000000 
> +0100
> +++ ext2resize-1.1.19.works/src/ext2_unix_io.c  2005-01-11 17:56:14.000000000 
> +0000
> @@ -47,7 +47,7 @@
>  #endif
> 
>  #ifndef BLKGETSIZE64
> -#define BLKGETSIZE64 _IOR(0x12,114,sizeof(unsigned long long))
> +#define BLKGETSIZE64 _IOR(0x12,114,unsigned long long)
>  #endif
> 
>  struct my_cookie

Thanks, I've committed this change to CVS.

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://members.shaw.ca/adilger/             http://members.shaw.ca/golinux/

Attachment: pgplzaOppuVMQ.pgp
Description: PGP signature

Reply via email to