hal/hald/linux block_class_device.c,1.83,1.84
David Zeuthen
david at freedesktop.org
Fri Oct 8 09:40:26 PDT 2004
Update of /cvs/hal/hal/hald/linux
In directory gabe:/tmp/cvs-serv30371/hald/linux
Modified Files:
block_class_device.c
Log Message:
2004-10-08 David Zeuthen <david at fubar.dk>
* configure.in: look for BLKGETSIZE64 to be provided. From
Jonathan Blandford <jrb at gnome.org>
2004-10-08 David Zeuthen <david at fubar.dk>
* libhal-storage/libhal-storage.h (LIBHAL_STORAGE_H): Only use one
underscore, not two. Reported by Jérôme Lodewyck
<lodewyck at clipper.ens.fr>.
Index: block_class_device.c
===================================================================
RCS file: /cvs/hal/hal/hald/linux/block_class_device.c,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -d -r1.83 -r1.84
--- block_class_device.c 29 Sep 2004 14:28:32 -0000 1.83
+++ block_class_device.c 8 Oct 2004 16:40:24 -0000 1.84
@@ -606,7 +606,6 @@
hal_device_property_set_int (d, "volume.block_size", block_size);
HAL_INFO (("volume.block_size = %d", block_size));
}
-
if (ioctl (fd, BLKGETSIZE64, &vol_size) == 0) {
hal_device_property_set_uint64 (d, "volume.size", vol_size);
HAL_INFO (("volume.size = %llu", vol_size));
More information about the hal-commit
mailing list