- Timestamp:
- Dec 8, 2005, 11:43:46 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/mondo/common/libmondo-devices.c
r147 r162 950 950 if (outvalB <= 0) { 951 951 log_msg(1, "Error getting size of %s: %s", drive, strerror(errno)); 952 }953 952 #if linux 954 953 fileid = open(drive, O_RDONLY); … … 979 978 } 980 979 #endif 981 980 } 982 981 // OLDER DISKS will give ridiculously low value for outvalB (so outvalA is returned) :) 983 982 // NEWER DISKS will give sane value for outvalB (close to outvalA, in other words) :)
Note:
See TracChangeset
for help on using the changeset viewer.