net/iavf: store offload flag of Rx queue
[dpdk.git] / drivers / bus / dpaa / base / fman / netcfg_layer.c
index b7009f2..120deb0 100644 (file)
@@ -8,7 +8,7 @@
 #include <dpaa_of.h>
 #include <net/if.h>
 #include <sys/ioctl.h>
-#include <error.h>
+#include <err.h>
 #include <net/if_arp.h>
 #include <assert.h>
 #include <unistd.h>
@@ -90,7 +90,7 @@ netcfg_acquire(void)
         */
        skfd = socket(AF_PACKET, SOCK_RAW, 0);
        if (unlikely(skfd < 0)) {
-               error(0, errno, "%s(): open(SOCK_RAW)", __func__);
+               err(0, "%s(): open(SOCK_RAW)", __func__);
                return NULL;
        }