From: zeyun chen Date: Thu, 21 Dec 2023 02:31:20 +0000 (+0800) Subject: Fix typo: octen -> octet X-Git-Tag: v2.40-rc1~95^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c2d7b262a6e292bea5e3ee438c211a8511f68c5d;p=thirdparty%2Futil-linux.git Fix typo: octen -> octet --- diff --git a/misc-utils/logger.c b/misc-utils/logger.c index 9fcf171d33..980412bebb 100644 --- a/misc-utils/logger.c +++ b/misc-utils/logger.c @@ -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);