[NDIS]
[reactos.git] / drivers / network / ndis / ndis / miniport.c
index 5c72c10..2a0c1b6 100644 (file)
@@ -1511,7 +1511,7 @@ NdisMRegisterAdapterShutdownHandler(
   KeInitializeCallbackRecord(BugcheckContext->CallbackRecord);
 
   KeRegisterBugCheckCallback(BugcheckContext->CallbackRecord, NdisIBugcheckCallback,
-      BugcheckContext, sizeof(BugcheckContext), (PUCHAR)"Ndis Miniport");
+      BugcheckContext, sizeof(*BugcheckContext), (PUCHAR)"Ndis Miniport");
 
   IoRegisterShutdownNotification(Adapter->NdisMiniportBlock.DeviceObject);
 }