cluster: RHEL6 - Reported UUID from 'gfs2_edit -p sb' should be lower-case

Fabio M. Di Nitto fabbione at fedoraproject.org
Fri May 27 06:48:52 UTC 2011


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=b4029e885bf6d6fee7bee16172be873fa2329ec0
Commit:        b4029e885bf6d6fee7bee16172be873fa2329ec0
Parent:        3a8ef438e9649737c07dc5355d84afffa650dbdd
Author:        Bob Peterson <rpeterso at redhat.com>
AuthorDate:    Thu Sep 16 09:17:42 2010 -0500
Committer:     Fabio M. Di Nitto <fdinitto at redhat.com>
CommitterDate: Fri May 27 08:46:45 2011 +0200

Reported UUID from 'gfs2_edit -p sb' should be lower-case

This patch changes the uuid output from uppercase to lowercase.

rhbz#694823
---
 gfs2/libgfs2/ondisk.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gfs2/libgfs2/ondisk.c b/gfs2/libgfs2/ondisk.c
index 39b9df2..351198a 100644
--- a/gfs2/libgfs2/ondisk.c
+++ b/gfs2/libgfs2/ondisk.c
@@ -144,7 +144,7 @@ const char *str_uuid(const unsigned char *uuid)
 	memset(str, 0, sizeof(str));
 	ch = str;
 	for (i = 0; i < 16; i++) {
-		sprintf(ch, "%02X", uuid[i]);
+		sprintf(ch, "%02x", uuid[i]);
 		ch += 2;
 		if ((i == 3) || (i == 5) || (i == 7) || (i == 9)) {
 			*ch = '-';


More information about the cluster-commits mailing list