]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
util-ioctl: fix a typo in setter message
authorEric Leblond <eric@regit.org>
Thu, 19 Apr 2018 14:58:27 +0000 (16:58 +0200)
committerVictor Julien <victor@inliniac.net>
Thu, 3 May 2018 11:28:52 +0000 (13:28 +0200)
src/util-ioctl.c

index 1e54cbc757571fe9393f41f62b73335e7cf162a3..22de89b45677342b432d57174f9db58afa9864d7 100644 (file)
@@ -313,7 +313,7 @@ static int SetEthtoolValue(const char *dev, int cmd, uint32_t value)
     ifr.ifr_data = (void *) &ethv;
     if (ioctl(fd, SIOCETHTOOL, (char *)&ifr) < 0) {
         SCLogWarning(SC_ERR_SYSCALL,
-                  "Failure when trying to get feature via ioctl for '%s': %s (%d)",
+                  "Failure when trying to set feature via ioctl for '%s': %s (%d)",
                   dev, strerror(errno), errno);
         close(fd);
         return -1;