]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
unix-socket: minor output improvements
authorVictor Julien <vjulien@oisf.net>
Thu, 15 Dec 2022 18:44:58 +0000 (19:44 +0100)
committerVictor Julien <vjulien@oisf.net>
Tue, 20 Dec 2022 07:51:33 +0000 (08:51 +0100)
src/unix-manager.c

index f931185865f02a4d6f7cf240c9cc25b128c6687f..f9983bbf9091e8ade95075b7312f29a7b303a272 100644 (file)
@@ -143,12 +143,12 @@ static int UnixNew(UnixCommand * this)
             if (ret != 0) {
                 int err = errno;
                 if (err != EEXIST) {
-                    SCLogError("Cannot create socket directory %s: %s", SOCKET_PATH, strerror(err));
+                    SCLogError(
+                            "failed to create socket directory %s: %s", SOCKET_PATH, strerror(err));
                     return 0;
                 }
             } else {
-                SCLogInfo("Created socket directory %s",
-                        SOCKET_PATH);
+                SCLogInfo("created socket directory %s", SOCKET_PATH);
             }
         }
     }