aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorGene Cumm <gene.cumm@gmail.com>2015-07-18 08:02:04 -0400
committerGene Cumm <gene.cumm@gmail.com>2015-07-18 08:02:04 -0400
commit98c412df5c146754097b678abca8b98abee4968b (patch)
tree7b17e4f2fb71318ed889d1967e4287167bc8e492 /core
parenta328beeb6d8ef595487cd731e8a271895c4662e0 (diff)
downloadsyslinux-98c412df5c146754097b678abca8b98abee4968b.tar.gz
syslinux-98c412df5c146754097b678abca8b98abee4968b.tar.xz
syslinux-98c412df5c146754097b678abca8b98abee4968b.zip
core/serirq: Use memset not memcpy
The intention is to nullify not copy the IRQ pointers Reported-By: Thomas Schmitt <scdbackup@gmx.net> Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
Diffstat (limited to 'core')
-rw-r--r--core/serirq.c2
1 files changed, 1 insertions, 1 deletions
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);
}