257 |
|
D(bug("Got size of %ld\n", size)); |
258 |
|
if ( size < 800 * 1024 || size > 1440 * 1024 ) |
259 |
|
{ |
260 |
< |
D(puts("Device does not appear to be 800k or 1440k\n")); |
260 |
> |
D(puts("Device does not appear to be 800k or 1440k")); |
261 |
|
continue; |
262 |
|
} |
263 |
|
} |
264 |
< |
else |
265 |
< |
bug("Couldn't get kIOMediaSizeKey of device\n"); |
266 |
< |
|
267 |
< |
|
264 |
> |
else { |
265 |
> |
D(puts("Couldn't get kIOMediaSizeKey of device")); |
266 |
> |
continue; // if kIOMediaSizeKey is unavailable, we shouldn't use it anyway |
267 |
> |
} |
268 |
> |
|
269 |
|
*bsdPath = '\0'; |
270 |
|
if ( bsdPathAsCFString ) |
271 |
|
{ |