diff options
-rw-r--r-- | MdeModulePkg/Universal/PCD/Pei/Service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/PCD/Pei/Service.c b/MdeModulePkg/Universal/PCD/Pei/Service.c index ec91699182..ab3059c735 100644 --- a/MdeModulePkg/Universal/PCD/Pei/Service.c +++ b/MdeModulePkg/Universal/PCD/Pei/Service.c @@ -305,7 +305,7 @@ InvokeCallbackOnSet ( for (Idx = 0; Idx < PcdGet32 (PcdMaxPeiPcdCallBackNumberPerPcdEntry); Idx++) {
if (CallbackTable[Idx] != NULL) {
CallbackTable[Idx] (Guid,
- (Guid == NULL)? TokenNumber: ExTokenNumber,
+ (Guid == NULL) ? (TokenNumber + 1) : ExTokenNumber,
Data,
Size
);
|