diff --git a/os_stub/spdm_device_secret_lib_sample/lib.c b/os_stub/spdm_device_secret_lib_sample/lib.c index 67dda5cb430..7914574b045 100644 --- a/os_stub/spdm_device_secret_lib_sample/lib.c +++ b/os_stub/spdm_device_secret_lib_sample/lib.c @@ -2267,7 +2267,8 @@ bool libspdm_event_subscribe( if ((subscribe_list_len != 0) || (subscribe_list != NULL)) { return false; } - LIBSPDM_DEBUG((LIBSPDM_DEBUG_INFO, "Subscribing to all events for session ID 0x.%x\n")); + LIBSPDM_DEBUG((LIBSPDM_DEBUG_INFO, + "Subscribing to all events for session ID 0x%x.\n", session_id)); g_event_all_subscribe = true; g_event_all_unsubscribe = false; return true; @@ -2275,7 +2276,8 @@ bool libspdm_event_subscribe( if ((subscribe_list_len != 0) || (subscribe_list != NULL)) { return false; } - LIBSPDM_DEBUG((LIBSPDM_DEBUG_INFO, "Unsubscribing from all events for session ID 0x.%x\n")); + LIBSPDM_DEBUG((LIBSPDM_DEBUG_INFO, + "Unsubscribing from all events for session ID 0x%x.\n", session_id)); g_event_all_subscribe = false; g_event_all_unsubscribe = true; return true;