Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Oct 2013 08:20:01 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r256766 - head/sys/geom/label
Message-ID:  <201310190820.r9J8K12f084667@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310190820.r9J8K12f084667>