]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
log/pcap: fix typo in error message
authorEric Leblond <eric@regit.org>
Sat, 13 Feb 2021 20:34:34 +0000 (21:34 +0100)
committerVictor Julien <vjulien@oisf.net>
Thu, 26 May 2022 10:45:15 +0000 (12:45 +0200)
src/log-pcap.c

index 52cb6ff4fefd42933d32f7801ac7bbf82e2781bb..f3f3a9b475b2e1ad9a3411f111aa040e6552b0b8 100644 (file)
@@ -913,8 +913,8 @@ static TmEcode PcapLogInitRingBuffer(PcapLogData *pl)
             }
             switch (part[1]) {
                 case 'i':
-                    SCLogError(SC_ERR_INVALID_ARGUMENT,
-                        "Thread ID not allowed inring buffer mode.");
+                    SCLogError(
+                            SC_ERR_INVALID_ARGUMENT, "Thread ID not allowed in ring buffer mode.");
                     return TM_ECODE_FAILED;
                 case 'n': {
                     char tmp[PATH_MAX];