examples/l3fwd: share queue size variables
[dpdk.git] / lib / telemetry / telemetry.c
index a748316..c6fd03a 100644 (file)
@@ -8,7 +8,6 @@
 #include <sys/socket.h>
 #include <sys/un.h>
 #include <sys/stat.h>
-#include <dlfcn.h>
 #endif /* !RTE_EXEC_ENV_WINDOWS */
 
 /* we won't link against libbsd, so just always use DPDKs-specific strlcpy */
@@ -534,7 +533,7 @@ telemetry_legacy_init(void)
        }
        rc = pthread_create(&t_old, NULL, socket_listener, &v1_socket);
        if (rc != 0) {
-               TMTY_LOG(ERR, "Error with create legcay socket thread: %s\n",
+               TMTY_LOG(ERR, "Error with create legacy socket thread: %s\n",
                         strerror(rc));
                close(v1_socket.sock);
                v1_socket.sock = -1;