changeset 1684:e7990551c6d6

Rename function variable.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 31 May 2018 17:25:35 +0300
parents 187a9f3c9e88
children 904904f145b4
files tools/lib64fmts.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tools/lib64fmts.c	Thu May 31 15:25:56 2018 +0300
+++ b/tools/lib64fmts.c	Thu May 31 17:25:35 2018 +0300
@@ -394,7 +394,7 @@
 {
     // The beginning/un-changing part of the BASIC bootstrap and
     // relocation of decompression code
-    static const Uint8 signature[] = {
+    static const Uint8 magicID[] = {
         0x0b, 0x08, 0x09, 0x00, 0x9e, 0x32, 0x30, 0x35,
         0x39, 0x00, 0xa2, 0x00, 0x78, 0xbd, 0x1c, 0x08,
         0x9d, 0xf5, 0x00, 0xe8, 0xd0, 0xf7, 0xe6, 0x01,
@@ -403,7 +403,7 @@
     };
 
     if (len >= 512 && dmCompareAddr16(buf, 0, fmt->addr) &&
-        memcmp(buf + 2, signature, sizeof(signature)) == 0)
+        memcmp(buf + 2, magicID, sizeof(magicID)) == 0)
         return DM_PROBE_SCORE_MAX;
 
     return DM_PROBE_SCORE_FALSE;