]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
vconsole-setup: fix typo
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 20 Feb 2024 00:23:15 +0000 (09:23 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 20 Feb 2024 00:23:18 +0000 (09:23 +0900)
Follow-up for 190ff0d0a8d1fc367ec04296f24cd1cab5b7543b.

src/vconsole/vconsole-setup.c

index bc32b2267cf2ab3984fa42de92f6e6e58b93f28c..2a73d01d7e76298e49521ee29e1c11dc6e998c10 100644 (file)
@@ -522,7 +522,7 @@ static int find_source_vc(char **ret_path, unsigned *ret_idx) {
         assert(ret_idx);
 
         /* This function returns an fd when it finds a candidate. When it fails, it returns the first error
-         * that occured when the VC was being opened or -EBUSY when it finds some VCs but all are busy
+         * that occurred when the VC was being opened or -EBUSY when it finds some VCs but all are busy
          * otherwise -ENOENT when there is no allocated VC. */
 
         for (unsigned i = 1; i <= 63; i++) {
@@ -640,7 +640,7 @@ static int run(int argc, char **argv) {
 
         if (fd < 0) {
                 /* We found only busy VCs, which might happen during the boot process when the boot splash is
-                 * displayed on the only allocated VC. In this case we don't interfer and avoid initializing
+                 * displayed on the only allocated VC. In this case we don't interfere and avoid initializing
                  * the VC partially as some operations are likely to fail. */
                 log_notice("All allocated VCs are currently busy, skipping initialization of font and keyboard settings.");
                 return EXIT_SUCCESS;