summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_sunlabel.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-03-28 22:00:24 +0000
committerphk <phk@FreeBSD.org>2002-03-28 22:00:24 +0000
commit6eba0c6062aca9f11a8c2783afdba36bdab70be8 (patch)
treed50bead8948720bc86125c0a13fd12daa9bdd16e /sys/geom/geom_sunlabel.c
parent19520dd5a573d8e4709dcf1c615a26db622a57a2 (diff)
downloadFreeBSD-src-6eba0c6062aca9f11a8c2783afdba36bdab70be8.zip
FreeBSD-src-6eba0c6062aca9f11a8c2783afdba36bdab70be8.tar.gz
Complete an incomplete cut&paste operation.
Diffstat (limited to 'sys/geom/geom_sunlabel.c')
-rw-r--r--sys/geom/geom_sunlabel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/geom/geom_sunlabel.c b/sys/geom/geom_sunlabel.c
index 97254de..c7ab320 100644
--- a/sys/geom/geom_sunlabel.c
+++ b/sys/geom/geom_sunlabel.c
@@ -57,7 +57,7 @@
#include <geom/geom_slice.h>
#include <machine/endian.h>
-#define BSD_CLASS_NAME "SUNLABEL-class"
+#define SUNLABEL_CLASS_NAME "SUNLABEL-class"
struct g_sunlabel_softc {
int foo;
@@ -98,7 +98,7 @@ g_sunlabel_taste(struct g_class *mp, struct g_provider *pp, int flags)
g_trace(G_T_TOPOLOGY, "g_sunlabel_taste(%s,%s)", mp->name, pp->name);
g_topology_assert();
if (flags == G_TF_NORMAL &&
- !strcmp(pp->geom->class->name, BSD_CLASS_NAME))
+ !strcmp(pp->geom->class->name, SUNLABEL_CLASS_NAME))
return (NULL);
gp = g_slice_new(mp, 8, pp, &cp, &ms, sizeof *ms, g_sunlabel_start);
if (gp == NULL)
@@ -185,7 +185,7 @@ g_sunlabel_taste(struct g_class *mp, struct g_provider *pp, int flags)
}
static struct g_class g_sunlabel_class = {
- BSD_CLASS_NAME,
+ SUNLABEL_CLASS_NAME,
g_sunlabel_taste,
g_slice_access,
g_slice_orphan,
OpenPOWER on IntegriCloud