summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_sunlabel.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-04-09 08:56:26 +0000
committerphk <phk@FreeBSD.org>2003-04-09 08:56:26 +0000
commit3faf153e04971a765b1fc2aa0e91b8f1b713e62d (patch)
tree8e7933843975f9f427e08aefa17e8000a0ed0711 /sys/geom/geom_sunlabel.c
parent5f0dd74a54be7f925d739a48223595e57a379cfb (diff)
downloadFreeBSD-src-3faf153e04971a765b1fc2aa0e91b8f1b713e62d.zip
FreeBSD-src-3faf153e04971a765b1fc2aa0e91b8f1b713e62d.tar.gz
Style issue: use do {...} while(0); for multi-exit section.
Diffstat (limited to 'sys/geom/geom_sunlabel.c')
-rw-r--r--sys/geom/geom_sunlabel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/geom_sunlabel.c b/sys/geom/geom_sunlabel.c
index 78254e6..8becf01 100644
--- a/sys/geom/geom_sunlabel.c
+++ b/sys/geom/geom_sunlabel.c
@@ -168,7 +168,7 @@ g_sunlabel_taste(struct g_class *mp, struct g_provider *pp, int flags)
g_topology_unlock();
gp->dumpconf = g_sunlabel_dumpconf;
npart = 0;
- do { /* a trick to allow us to use break */
+ do {
if (gp->rank != 2 && flags == G_TF_NORMAL)
break;
ms->sectorsize = cp->provider->sectorsize;
OpenPOWER on IntegriCloud