]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
Fix typo: octen -> octet
authorzeyun chen <chenzeyun.zju@gmail.com>
Thu, 21 Dec 2023 02:31:20 +0000 (10:31 +0800)
committerzeyun chen <chenzeyun.zju@gmail.com>
Thu, 21 Dec 2023 02:31:20 +0000 (10:31 +0800)
misc-utils/logger.c

index 9fcf171d3360d9a942c9f4c62ec80b49836c0e9e..980412bebba7927cf8238d9f94339f907493cd13 100644 (file)
@@ -451,7 +451,7 @@ static void write_output(struct logger_ctl *ctl, const char *const msg)
        if (!ctl->noact && !is_connected(ctl))
                logger_reopen(ctl);
 
-       /* 1) octen count */
+       /* 1) octet count */
        if (ctl->octet_count) {
                size_t len = xasprintf(&octet, "%zu ", strlen(ctl->hdr) + strlen(msg));
                iovec_add_string(iov, iovlen, octet, len);