1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00

core/load-fragment: fix typo (sanety -> sanity)

Follow-up for 435e1098ee
This commit is contained in:
Mike Yuan 2024-02-12 21:44:23 +08:00
parent 8b68a199c2
commit eef2b1a7b1
No known key found for this signature in database
GPG Key ID: 417471C0A40F58B3

View 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);