Re: [ext2resize] [PATCH] to build ext2resize-1.1.19 against modern asm/ioctl.h
Status: Inactive
Brought to you by:
adilger
From: Andreas D. <ad...@cl...> - 2005-01-21 23:07:38
|
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 >=20 > I believe that this patch fixes the problem: > ---8<--- > --- ext2resize-1.1.19/src/ext2_unix_io.c 2004-09-30 15:04:04.00000= 0000 +0100 > +++ ext2resize-1.1.19.works/src/ext2_unix_io.c 2005-01-11 17:56:14.00000= 0000 +0000 > @@ -47,7 +47,7 @@ > #endif >=20 > #ifndef BLKGETSIZE64 > -#define BLKGETSIZE64 _IOR(0x12,114,sizeof(unsigned long long)) > +#define BLKGETSIZE64 _IOR(0x12,114,unsigned long long) > #endif >=20 > 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/ |