]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
fix sign of BLKGETSIZE ioctl argument in libxfs.
authorNathan Scott <nathans@sgi.com>
Tue, 17 Jul 2001 23:53:16 +0000 (23:53 +0000)
committerNathan Scott <nathans@sgi.com>
Tue, 17 Jul 2001 23:53:16 +0000 (23:53 +0000)
doc/CHANGES
libxfs/init.c

index c02d3ec658d49aa2ea9f81235117c19e4b747772..d54eb037743d5bb9bdfd3536fa8387edd270858c 100644 (file)
@@ -8,6 +8,7 @@ xfsprogs-1.3.1 (15 Jul 2001)
        - fix bug in xfs_growfs mount option parsing with external log
        - BLKSZSET ioctl now conditional via the Makefile (off by default)
        - rework some of the Debian packaging rules
+       - fix sign of BLKGETSIZE ioctl argument in libxfs
 
 xfsprogs-1.3.0 (11 Jul 2001)
        - reworked Makefiles to use libtool
index 84dcd26f6ffeed1bbb5e643f24eb5e2baf147d41..51b24e4c92086e9ed5d2f7187ff8139bd102712d 100644 (file)
@@ -128,8 +128,8 @@ findsize(char *path)
 {
        int     fd;
        int     error;
-       long    size;
-       struct stat64   st;
+       unsigned long   size;
+       struct stat64   st;
 
        /* Test to see if we are dealing with a regular file rather than a
         * block device, if we are just use the size returned by stat64