svn commit: r256766 - head/sys/geom/label

Edward Tomasz Napierala trasz at FreeBSD.org
Sat Oct 19 08:20:01 UTC 2013


Author: trasz
Date: Sat Oct 19 08:20:00 2013
New Revision: 256766
URL: http://svnweb.freebsd.org/changeset/base/256766

Log:
  Fix build with gcc by spelling unused format string as "unused" instead of NULL.
  
  MFC after:	29 days

Modified:
  head/sys/geom/label/g_label.c

Modified: head/sys/geom/label/g_label.c
==============================================================================
--- head/sys/geom/label/g_label.c	Sat Oct 19 06:52:06 2013	(r256765)
+++ head/sys/geom/label/g_label.c	Sat Oct 19 08:20:00 2013	(r256766)
@@ -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


More information about the svn-src-head mailing list