"Debarshi 'Rishi' Ray" <[EMAIL PROTECTED]> writes:

> I was running indent on the Parted sources, when I noticed a couple of
> issues. One of them being at ./libparted/fs/bfs/bfs.c:65
>
>       if (!ped_geometry_read (geom, buf, 0, 1))
>               return 0;
>
>         //if ( PED_CPU_TO_LE32((uint32_t)buf) == BFS_MAGIC )
>               return ped_geometry_new (geom->dev, geom->start,
>                                  ped_div_round_up (
>                                          PED_CPU_TO_LE32((uint32_t)(buf+8)),
>
> Any idea what this was supposed to be?

#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?

-- 
        O T A V I O    S A L V A D O R
---------------------------------------------
 E-mail: [EMAIL PROTECTED]      UIN: 5906116
 GNU/Linux User: 239058     GPG ID: 49A5F855
 Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft sells you Windows ... Linux gives
 you the whole house."

_______________________________________________
parted-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/parted-devel

Reply via email to