]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
filestore: Use proper string in error case
authorJeff Lucovsky <jeff@lucovsky.org>
Mon, 23 Sep 2019 23:44:00 +0000 (19:44 -0400)
committerVictor Julien <victor@inliniac.net>
Fri, 10 Jul 2020 13:31:41 +0000 (15:31 +0200)
When make-open-files has an invalid value, the incorrect value was being
displayed improperly

src/output-filestore.c

index 832ecfd12b24f7fc0e7bc01c9a454f7a3ee7ff94..a3f95c23620c084631d5e164d8ddd244713e6f6f 100644 (file)
@@ -516,7 +516,7 @@ static OutputInitResult OutputFilestoreLogInitCtx(ConfNode *conf)
             SCLogError(SC_ERR_SIZE_PARSE, "Error parsing "
                        "file-store.max-open-files "
                        "from conf file - %s.  Killing engine",
-                       stream_depth_str);
+                       file_count_str);
             exit(EXIT_FAILURE);
         } else {
             if (file_count != 0) {