lib: fix log typos
[dpdk.git] / lib / librte_eal / common / eal_common_proc.c
index cbe8d10..935e8fe 100644 (file)
@@ -283,7 +283,7 @@ read_msg(struct mp_msg_internal *m, struct sockaddr_un *s)
        }
 
        if (msglen != buflen || (msgh.msg_flags & (MSG_TRUNC | MSG_CTRUNC))) {
-               RTE_LOG(ERR, EAL, "truncted msg\n");
+               RTE_LOG(ERR, EAL, "truncated msg\n");
                return -1;
        }
 
@@ -1071,7 +1071,7 @@ rte_mp_request_async(struct rte_mp_msg *req, const struct timespec *ts,
        }
 
        if (gettimeofday(&now, NULL) < 0) {
-               RTE_LOG(ERR, EAL, "Faile to get current time\n");
+               RTE_LOG(ERR, EAL, "Failed to get current time\n");
                rte_errno = errno;
                return -1;
        }