]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
#754 sufixlist->SUFFIX_LIST
authorSergey Ponomarev <stokito@gmail.com>
Sat, 14 Sep 2019 18:15:24 +0000 (21:15 +0300)
committerSergey Ponomarev <stokito@gmail.com>
Sat, 14 Sep 2019 18:15:24 +0000 (21:15 +0300)
programs/fileio.c

index e5fb1aad1200f77a7dbda8970f4e77d77fb6c2ba..7ad54055847b1e782915b879dcb95cea12e6ff52 100644 (file)
@@ -2169,7 +2169,7 @@ FIO_determineDstName(const char* srcFileName)
     static size_t dfnbCapacity = 0;
     static char* dstFileNameBuffer = NULL;   /* using static allocation : this function cannot be multi-threaded */
 
-    const char* suffixlist = ZSTD_EXTENSION
+    const char* SUFFIX_LIST = ZSTD_EXTENSION
     #ifdef ZSTD_GZDECOMPRESS
         "/" GZ_EXTENSION
     #endif
@@ -2186,7 +2186,7 @@ FIO_determineDstName(const char* srcFileName)
     const char* const suffixPtr = strrchr(srcFileName, '.');
     if (suffixPtr == NULL) {
         DISPLAYLEVEL(1, "zstd: %s: missing suffix (%s expected) -- ignored \n",
-                        srcFileName, suffixlist);
+                        srcFileName, SUFFIX_LIST);
         return NULL;
     }
     suffixSize = strlen(suffixPtr);
@@ -2206,7 +2206,7 @@ FIO_determineDstName(const char* srcFileName)
         #endif
             ) ) {
         DISPLAYLEVEL(1, "zstd: %s: unknown suffix (%s expected) -- ignored \n",
-                     srcFileName, suffixlist);
+                     srcFileName, SUFFIX_LIST);
         return NULL;
     }