From: Yu Watanabe Date: Mon, 7 Apr 2025 07:34:03 +0000 (+0900) Subject: terminal-util: fix typo X-Git-Tag: v258-rc1~894 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=79ef03740d51622083e0ec2dc3ca803689cbb45b;p=thirdparty%2Fsystemd.git terminal-util: fix typo Follow-up for b27f791691b149ea660618dd93e7b9792d4e7680. --- diff --git a/src/basic/terminal-util.c b/src/basic/terminal-util.c index 498e2d532ba..c620375efd1 100644 --- a/src/basic/terminal-util.c +++ b/src/basic/terminal-util.c @@ -1096,7 +1096,7 @@ bool tty_is_vc(const char *tty) { /* NB: for >= 0 values no range check is conducted here, on the assumption that the caller will * either extract vtnr through vtnr_from_tty() later where ERANGE would be reported, or doesn't care - * about whether it's strictly valid, but only asking "does this fall into the vt catogory?", for which + * about whether it's strictly valid, but only asking "does this fall into the vt category?", for which * "yes" seems to be a better answer. */ return vtnr_from_tty_raw(tty, /* ret = */ NULL) >= 0;