diff --git a/reactos/drivers/dd/beep/beep.c b/reactos/drivers/dd/beep/beep.c index 7aace6ae917..0b1eef41746 100644 --- a/reactos/drivers/dd/beep/beep.c +++ b/reactos/drivers/dd/beep/beep.c @@ -177,9 +177,8 @@ BeepDeviceControl(PDEVICE_OBJECT DeviceObject, /* do the beep!! */ DPRINT("Beep:\n Freq: %lu Hz\n Dur: %lu ms\n", - pbsp->Frequency, - pbsp->Duration); - + BeepParam->Frequency, + BeepParam->Duration); if (BeepParam->Duration >= 0) { DueTime.QuadPart = (LONGLONG)BeepParam->Duration * -10000;