Skip to content

Commit

Permalink
Fix #1141, PipeName unset with debug event
Browse files Browse the repository at this point in the history
Do not print the pipe name in the debug event, just pipe ID.
  • Loading branch information
jphickey committed Jan 29, 2021
1 parent 4374482 commit a97a268
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fsw/cfe-core/src/sb/cfe_sb_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -1142,9 +1142,9 @@ int32 CFE_SB_SubscribeFull(CFE_SB_MsgId_t MsgId,
{
/* If no other event pending, send a debug event indicating success */
CFE_EVS_SendEventWithAppID(CFE_SB_SUBSCRIPTION_RCVD_EID,CFE_EVS_EventType_DEBUG,CFE_SB.AppId,
"Subscription Rcvd:MsgId 0x%x on %s(%lu),app %s",
"Subscription Rcvd:MsgId 0x%x on PipeId %lu,app %s",
(unsigned int)CFE_SB_MsgIdToValue(MsgId),
PipeName,CFE_ES_ResourceID_ToInteger(PipeId),CFE_SB_GetAppTskName(TskId,FullName));
CFE_ES_ResourceID_ToInteger(PipeId),CFE_SB_GetAppTskName(TskId,FullName));
}

if (Status == CFE_SUCCESS && Scope == CFE_SB_GLOBAL)
Expand Down

0 comments on commit a97a268

Please sign in to comment.