aboutsummaryrefslogtreecommitdiff
path: root/sys/geom
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2013-10-19 08:20:00 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2013-10-19 08:20:00 +0000
commitfb0e57b1a29fcde287c5c1aea7c8ba9f07f1a475 (patch)
tree4e8b621092ee1c2c45a78e17360630e8603b8cce /sys/geom
parent7bb2d4b324bf9a6a52a2c0acce7e5cff2984ed46 (diff)
downloadsrc-fb0e57b1a29fcde287c5c1aea7c8ba9f07f1a475.tar.gz
src-fb0e57b1a29fcde287c5c1aea7c8ba9f07f1a475.zip
Fix build with gcc by spelling unused format string as "unused" instead of NULL.
MFC after: 29 days
Notes
Notes: svn path=/head/; revision=256766
Diffstat (limited to 'sys/geom')
-rw-r--r--sys/geom/label/g_label.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/label/g_label.c b/sys/geom/label/g_label.c
index e6c87ec1fc96..fc16f7fb4f6f 100644
--- a/sys/geom/label/g_label.c
+++ b/sys/geom/label/g_label.c
@@ -132,7 +132,7 @@ g_label_resize(struct g_consumer *cp)
LIST_FIRST(&cp->geom->provider)->name);
g_slice_config(cp->geom, 0, G_SLICE_CONFIG_FORCE, (off_t)0,
- cp->provider->mediasize, cp->provider->sectorsize, NULL);
+ cp->provider->mediasize, cp->provider->sectorsize, "notused");
}
static int