[parted-devel] bfs.c weirdness
Debarshi 'Rishi' Ray
debarshi.ray at gmail.com
Sat Jun 30 04:46:57 UTC 2007
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?
Happy hacking,
Debarshi
--
GPG key ID: 63D4A5A7
Key server: pgp.mit.edu
More information about the parted-devel
mailing list