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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to