aboutsummaryrefslogtreecommitdiffstats
path: root/com32/lib/sys/vesa
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2006-09-05 17:07:09 -0700
committerH. Peter Anvin <hpa@zytor.com>2006-09-05 17:07:09 -0700
commit741f492bfe7c9846d58c4f674d9d11ca0a18acf6 (patch)
tree035a2a713832c2ef6e62792050b69d684fbdb222 /com32/lib/sys/vesa
parent23f602a07a570de8a3a356b6b156fe036c38ab27 (diff)
downloadsyslinux-741f492bfe7c9846d58c4f674d9d11ca0a18acf6.tar.gz
syslinux-741f492bfe7c9846d58c4f674d9d11ca0a18acf6.tar.xz
syslinux-741f492bfe7c9846d58c4f674d9d11ca0a18acf6.zip
No need to bzero .bss memory
Diffstat (limited to 'com32/lib/sys/vesa')
-rw-r--r--com32/lib/sys/vesa/background.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/lib/sys/vesa/background.c b/com32/lib/sys/vesa/background.c
index 64a46045..bfdc9f40 100644
--- a/com32/lib/sys/vesa/background.c
+++ b/com32/lib/sys/vesa/background.c
@@ -240,7 +240,7 @@ int vesacon_load_background(const char *filename)
int __vesacon_init_background(void)
{
- memset(__vesacon_background, 0, sizeof __vesacon_background);
+ /* The BSS clearing has already cleared __vesacon_background */
/* The VESA BIOS has already cleared the screen */
return 0;