Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Apr 2009 16:18:17 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r190849 - head/sys/geom/part
Message-ID:  <200904081618.n38GIHG8064477@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marcel
Date: Wed Apr  8 16:18:16 2009
New Revision: 190849
URL: http://svn.freebsd.org/changeset/base/190849

Log:
  Don't use hexadecimal in the EBR partition names, because 'a'..'f'
  are more commonly known as BSD partition names.
  
  Discussed with: ivoras@

Modified:
  head/sys/geom/part/g_part_ebr.c

Modified: head/sys/geom/part/g_part_ebr.c
==============================================================================
--- head/sys/geom/part/g_part_ebr.c	Wed Apr  8 16:12:28 2009	(r190848)
+++ head/sys/geom/part/g_part_ebr.c	Wed Apr  8 16:18:16 2009	(r190849)
@@ -344,7 +344,7 @@ g_part_ebr_name(struct g_part_table *tab
     char *buf, size_t bufsz)
 {
 
-	snprintf(buf, bufsz, "+%08x", entry->gpe_index);
+	snprintf(buf, bufsz, "+%08u", entry->gpe_index);
 	return (buf);
 }
 



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