From 98c412df5c146754097b678abca8b98abee4968b Mon Sep 17 00:00:00 2001 From: Gene Cumm Date: Sat, 18 Jul 2015 08:02:04 -0400 Subject: core/serirq: Use memset not memcpy The intention is to nullify not copy the IRQ pointers Reported-By: Thomas Schmitt Signed-off-by: Gene Cumm --- core/serirq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/serirq.c b/core/serirq.c index e230b98d..22370b9c 100644 --- a/core/serirq.c +++ b/core/serirq.c @@ -200,5 +200,5 @@ __export void sirq_cleanup_nowipe(void) void sirq_cleanup(void) { sirq_cleanup_nowipe(); - memcpy(SerialHead, 0x0, serial_buf_size); + memset(SerialHead, 0x0, serial_buf_size); } -- cgit