From 75b6972cfd56a2dcb78dd263c6af8ba810896981 Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Thu, 19 Apr 2018 16:58:27 +0200 Subject: [PATCH] util-ioctl: fix a typo in setter message --- src/util-ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util-ioctl.c b/src/util-ioctl.c index 1e54cbc757..22de89b456 100644 --- a/src/util-ioctl.c +++ b/src/util-ioctl.c @@ -313,7 +313,7 @@ static int SetEthtoolValue(const char *dev, int cmd, uint32_t value) ifr.ifr_data = (void *) ðv; 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;