Updated comment
This commit is contained in:
parent
cc083ade4d
commit
7884b3594e
@ -300,7 +300,7 @@ void geometry(void)
|
|||||||
/* Get the geometry of the drive, and the device's base and size. */
|
/* Get the geometry of the drive, and the device's base and size. */
|
||||||
if (ioctl(fd, DIOCGETP, &geometry) < 0)
|
if (ioctl(fd, DIOCGETP, &geometry) < 0)
|
||||||
{
|
{
|
||||||
/* Faking geometry. Use the same fake geometry as part. */
|
/* Use the same fake geometry as part. */
|
||||||
if (fstat(fd, &sb) < 0)
|
if (fstat(fd, &sb) < 0)
|
||||||
fatal(device);
|
fatal(device);
|
||||||
geometry.base= cvul64(0);
|
geometry.base= cvul64(0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user