Skip to content

Commit a97a268

Browse files
committed
Fix #1141, PipeName unset with debug event
Do not print the pipe name in the debug event, just pipe ID.
1 parent 4374482 commit a97a268

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fsw/cfe-core/src/sb/cfe_sb_api.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1142,9 +1142,9 @@ int32 CFE_SB_SubscribeFull(CFE_SB_MsgId_t MsgId,
11421142
{
11431143
/* If no other event pending, send a debug event indicating success */
11441144
CFE_EVS_SendEventWithAppID(CFE_SB_SUBSCRIPTION_RCVD_EID,CFE_EVS_EventType_DEBUG,CFE_SB.AppId,
1145-
"Subscription Rcvd:MsgId 0x%x on %s(%lu),app %s",
1145+
"Subscription Rcvd:MsgId 0x%x on PipeId %lu,app %s",
11461146
(unsigned int)CFE_SB_MsgIdToValue(MsgId),
1147-
PipeName,CFE_ES_ResourceID_ToInteger(PipeId),CFE_SB_GetAppTskName(TskId,FullName));
1147+
CFE_ES_ResourceID_ToInteger(PipeId),CFE_SB_GetAppTskName(TskId,FullName));
11481148
}
11491149

11501150
if (Status == CFE_SUCCESS && Scope == CFE_SB_GLOBAL)

0 commit comments

Comments
 (0)