diff --git a/dlls/kernel/comm.c b/dlls/kernel/comm.c index 877b2cf5200..7b7bad449b3 100644 --- a/dlls/kernel/comm.c +++ b/dlls/kernel/comm.c @@ -535,7 +535,7 @@ INT16 WINAPI OpenComm16(LPCSTR device,UINT16 cbInQueue,UINT16 cbOutQueue) return IE_HARDWARE; } else { unknown[port] = SEGPTR_ALLOC(40); - bzero(unknown[port],40); + memset(unknown[port], 0, 40); COM[port].fd = fd; COM[port].commerror = 0; COM[port].eventmask = 0;