diff --git a/src/rm.c b/src/rm.c
index cfa937e2e484e7d095aa58c78b8470d51bc550bd..372e4d60807e45ae62268d5ff3a45294a3e102bc 100644 (file)
--- a/src/rm.c
+++ b/src/rm.c
@@ -430,7 +430,7 @@ static int32_t cdRequestServerResources(Rm_Inst *rmInst, Rm_Transaction *transac
resourceOffsetInPolicy = rmPolicyGetResourceOffset(policy, transaction->resourceInfo.name);
if (resourceOffsetInPolicy > 0) {
- if (allocSize = rmPolicyGetResourceAllocSize(policy, resourceOffsetInPolicy)) {
+ if (allocSize = rmPolicyGetResourceCdAllocSize(policy, resourceOffsetInPolicy)) {
if (newTrans = rmTransactionQueueAdd(rmInst)) {
newTrans->type = transaction->type;
strncpy(newTrans->serviceSrcInstName, rmInst->instName, RM_NAME_MAX_CHARS);