mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-11 05:17:44 +03:00
core: fix typos in comment
This commit is contained in:
parent
3d3aafa453
commit
409607c111
@ -1198,8 +1198,8 @@ static void bump_file_max_and_nr_open(void) {
|
||||
#endif
|
||||
|
||||
#if BUMP_PROC_SYS_FS_FILE_MAX
|
||||
/* The maximum the kernel allows for this since 5.2 is LONG_MAX, use that. (Previously thing where
|
||||
* different but the operation would fail silently.) */
|
||||
/* The maximum the kernel allows for this since 5.2 is LONG_MAX, use that. (Previously things were
|
||||
* different, but the operation would fail silently.) */
|
||||
r = sysctl_writef("fs/file-max", "%li\n", LONG_MAX);
|
||||
if (r < 0)
|
||||
log_full_errno(IN_SET(r, -EROFS, -EPERM, -EACCES) ? LOG_DEBUG : LOG_WARNING, r, "Failed to bump fs.file-max, ignoring: %m");
|
||||
|
Loading…
Reference in New Issue
Block a user