Subversion Repositories general

Compare Revisions

Regard whitespace Rev 1185 → Rev 1186

/FreeBSD/geom_nbsd/trunk/src/geom_nbsd.c
128,7 → 128,8
 
/* Don't munge open partitions. */
for (i = 0; i < dl->d_npartitions; i++) {
if(!useable[i]) continue;
if (!useable[i])
continue;
 
ppp = &dl->d_partitions[i];
o = (off_t)ppp->p_offset * dl->d_secsize;
143,7 → 144,8
 
/* Look good, go for it... */
for (u = 0; u < gsp->nslice; u++) {
if(!useable[u]) continue;
if (!useable[u])
continue;
 
ppp = &dl->d_partitions[u];
o = (off_t)ppp->p_offset * dl->d_secsize;
150,9 → 152,7
if (o == 0)
o = rawoffset;
g_slice_config(gp, u, G_SLICE_CONFIG_SET,
o - rawoffset,
(off_t)ppp->p_size * dl->d_secsize,
dl->d_secsize,
o - rawoffset, (off_t)ppp->p_size * dl->d_secsize, dl->d_secsize,
"%s%c", gp->name, 'a' + u);
}
 
451,7 → 451,7
.taste = g_nbsd_taste,
.ctlreq = g_nbsd_config,
.dumpconf = g_nbsd_dumpconf,
.ioctl = g_nbsd_ioctl,
.ioctl = g_nbsd_ioctl
};
 
DECLARE_GEOM_CLASS(g_nbsd_class, g_nbsd);