Whamcloud - gitweb
ChangeLog, getsize.c:
authorTheodore Ts'o <tytso@mit.edu>
Thu, 26 Apr 2001 01:42:37 +0000 (01:42 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 26 Apr 2001 01:42:37 +0000 (01:42 +0000)
  getsize.c (ext2fs_get_device_size): Use an unsigned long to query the
   device sizes using the BLKGETSIZE ioctl.

lib/ext2fs/ChangeLog
lib/ext2fs/getsize.c

index 7a5e037..264f42f 100644 (file)
@@ -1,3 +1,8 @@
+2001-04-25  Theodore Tso  <tytso@valinux.com>
+
+       * getsize.c (ext2fs_get_device_size): Use an unsigned long to
+               query the device sizes using the BLKGETSIZE ioctl.
+
 2001-04-16  Theodore Tso  <tytso@valinux.com>
 
        * ismounted.c (check_mntent): Check /proc/mounts on Linux systems
index c1c445d..66f8524 100644 (file)
@@ -60,7 +60,7 @@ errcode_t ext2fs_get_device_size(const char *file, int blocksize,
 {
        int     fd;
 #ifdef BLKGETSIZE
-       long    size;
+       unsigned long   size;
 #endif
        ext2_loff_t high, low;
 #ifdef FDGETPRM