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

Bob Peterson rpeterso at fedoraproject.org
Thu Sep 16 14:17:30 UTC 2010


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=c0d48a75764c8595362a34fa8c1d271587bf4cc9
Commit:        c0d48a75764c8595362a34fa8c1d271587bf4cc9
Parent:        3b7c1dafab865ebabf8bb686cfaa41b69a9a4ae5
Author:        Bob Peterson <rpeterso at redhat.com>
AuthorDate:    Thu Sep 16 09:13:57 2010 -0500
Committer:     Bob Peterson <rpeterso at redhat.com>
CommitterDate: Thu Sep 16 09:13:57 2010 -0500

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

This patch changes the uuid output from uppercase to lowercase.

rhbz#632385
---
 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 0d16c15..2902ba1 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