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:
parent
8b68a199c2
commit
eef2b1a7b1
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user