diff options
author | ivoras <ivoras@FreeBSD.org> | 2013-04-15 15:55:40 +0000 |
---|---|---|
committer | ivoras <ivoras@FreeBSD.org> | 2013-04-15 15:55:40 +0000 |
commit | 4893ec0b76fa0d03524f1cd3cebbd1c9a143d2f7 (patch) | |
tree | b5a58dbd3c3e9f960af5c3e04ca74ccba8d72dfc /sys/geom/geom_disk.c | |
parent | d9c22bdbc9c9f5cdee2a672851e8f18a8e41fad8 (diff) | |
download | FreeBSD-src-4893ec0b76fa0d03524f1cd3cebbd1c9a143d2f7.zip FreeBSD-src-4893ec0b76fa0d03524f1cd3cebbd1c9a143d2f7.tar.gz |
Introduce a symbol for the GEOM class name instead of using the ad-hoc string
constant.
Diffstat (limited to 'sys/geom/geom_disk.c')
-rw-r--r-- | sys/geom/geom_disk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/geom_disk.c b/sys/geom/geom_disk.c index c71e6ec..7292ae3 100644 --- a/sys/geom/geom_disk.c +++ b/sys/geom/geom_disk.c @@ -75,7 +75,7 @@ static g_dumpconf_t g_disk_dumpconf; static g_provgone_t g_disk_providergone; static struct g_class g_disk_class = { - .name = "DISK", + .name = G_DISK_CLASS_NAME, .version = G_VERSION, .start = g_disk_start, .access = g_disk_access, |