]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core/load-fragment: fix typo (sanety -> sanity)
authorMike Yuan <me@yhndnzj.com>
Mon, 12 Feb 2024 13:44:23 +0000 (21:44 +0800)
committerMike Yuan <me@yhndnzj.com>
Mon, 12 Feb 2024 13:44:50 +0000 (21:44 +0800)
Follow-up for 435e1098ee9f1175bf60a181771a6e5983bef923

src/core/load-fragment.c

index 8f1e5e154363335d3a63b5b3fbdc8a08cf3744e3..f3e0667df1d895a7be886eceb905f3229d9ded52 100644 (file)
@@ -6145,7 +6145,7 @@ int config_parse_mount_node(
                 return log_oom();
 
         /* The source passed is not necessarily something we understand, and we pass it as-is to mount/swapon,
-         * so path_is_valid is not used. But let's check for basic sanety, i.e. if the source is longer than
+         * so path_is_valid is not used. But let's check for basic sanity, i.e. if the source is longer than
          * PATH_MAX, you're likely doing something wrong. */
         if (strlen(path) >= PATH_MAX) {
                 log_syntax(unit, LOG_WARNING, filename, line, 0, "Resolved mount path '%s' too long, ignoring.", path);