Changeset 2205 in MondoRescue for branches/2.2.9/mondo/src/common/libmondo-devices.c
- Timestamp:
- May 14, 2009, 3:10:51 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mondo/src/common/libmondo-devices.c
r2202 r2205 992 992 #if linux 993 993 fileid = open(drive, O_RDONLY); 994 if (fileid ) {994 if (fileid != -1) { 995 995 if (ioctl(fileid, HDIO_GETGEO, &hdgeo) != -1) { 996 996 if (hdgeo.cylinders && hdgeo.heads && hdgeo.sectors) {
Note:
See TracChangeset
for help on using the changeset viewer.