[parted-devel] bfs.c weirdness

Debarshi 'Rishi' Ray debarshi.ray at gmail.com
Sat Jun 30 21:26:12 UTC 2007


> #v+
>         if (!ped_geometry_read (geom, buf, 0, 1))
>                 return 0;
>
>         return ped_geometry_new (geom->dev, geom->start,
>                              ped_div_round_up (PED_CPU_TO_LE32((uint32_t)(buf+8)),
> #v-
>
> Maybe?

Maybe the 'if' need not be commented out. But is it an accident, or
some intended it to be this way? Just wondering...

Happy hacking,
Debarshi
-- 
GPG key ID: 63D4A5A7
Key server: pgp.mit.edu



More information about the parted-devel mailing list