]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Add Error Print
authorGeorge Lu <gclu@fb.com>
Fri, 1 Jun 2018 20:54:08 +0000 (13:54 -0700)
committerGeorge Lu <gclu@fb.com>
Fri, 1 Jun 2018 20:54:08 +0000 (13:54 -0700)
tests/paramgrill.c

index 68c573f830b76f15204d38f6af9f84cf522c98d1..58be12c53c340ed6cc925a850b8f874f994c6b4e 100644 (file)
@@ -1000,7 +1000,10 @@ int main(int argc, const char** argv)
                 return 1;
             }
 
-            if (argument[0] != 0) return 1; /* check the end of string */
+            if (argument[0] != 0) {
+                DISPLAY("invvalid --zstd= format\n");
+                return 1; /* check the end of string */
+            }
             break;
             //if not return, success
         } else if (argument[0]=='-') {