cluster: RHEL4 - rgmanager: Fix S/Lang compiler error

Lon Hohberger lon at fedoraproject.org
Fri Oct 22 19:51:38 UTC 2010


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=371a1a0eaff5c89cafe49f51d7494d4a10676a1a
Commit:        371a1a0eaff5c89cafe49f51d7494d4a10676a1a
Parent:        d20bd177341a7ee9dc76c17d5db73b5904b07660
Author:        Lon Hohberger <lhh at redhat.com>
AuthorDate:    Fri Oct 22 15:47:42 2010 -0400
Committer:     Lon Hohberger <lhh at redhat.com>
CommitterDate: Fri Oct 22 15:50:09 2010 -0400

rgmanager: Fix S/Lang compiler error

SL_RunTime_Error is not present in the distributions
targeted for this branch.

Resolves: rhbz#507430

Signed-off-by: Lon Hohberger <lhh at redhat.com>
---
 rgmanager/src/daemons/slang_event.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/rgmanager/src/daemons/slang_event.c b/rgmanager/src/daemons/slang_event.c
index 34b0bae..859fa3b 100644
--- a/rgmanager/src/daemons/slang_event.c
+++ b/rgmanager/src/daemons/slang_event.c
@@ -435,14 +435,14 @@ sl_service_property(char *svcName, char *prop)
 
 	ret = strdup(buf);
 	if (!ret) {
-		SLang_verror(SL_RunTime_Error,
+		SLang_verror(SL_INTRINSIC_ERROR,
 			     (char *)"%s: Failed to duplicate %s property of %s",
 			     __FUNCTION__, prop, svcName);
 		return;
 	}
 
 	if (SLang_push_malloced_string(ret) < 0) {
-		SLang_verror(SL_RunTime_Error,
+		SLang_verror(SL_INTRINSIC_ERROR,
 			     (char *)"%s: Failed to push %s property of %s",
 			     __FUNCTION__, prop, svcName);
 		free(ret);


More information about the cluster-commits mailing list