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

Fabio M. Di Nitto fabbione at fedoraproject.org
Fri May 27 03:04:57 UTC 2011


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=56c104a110e1a716d32d5fab8d1d811e401279f5
Commit:        56c104a110e1a716d32d5fab8d1d811e401279f5
Parent:        805b1f45df9de96b07eeb1708f8d3f5c4822292d
Author:        Fabio M. Di Nitto <fdinitto at redhat.com>
AuthorDate:    Fri May 27 05:04:28 2011 +0200
Committer:     Fabio M. Di Nitto <fdinitto at redhat.com>
CommitterDate: Fri May 27 05:04:28 2011 +0200

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

This reverts commit 3e4452404678ba4addffe4ece6b67dd2feeec4b9.

RHEL6 branch is not ready for 6.2 work yet.
---
 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 351198a..39b9df2 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