summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-04-20 18:28:19 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-04-23 15:11:38 +0200
commit409607c111851b1c24c3c67132bfb241a158fe9c (patch)
tree6342f8d209f5cebbe55d3d687d12258aad7e2549
parent3d3aafa453d21093809b48fc7dc020e3973bc470 (diff)
downloadsystemd-409607c111851b1c24c3c67132bfb241a158fe9c.tar.gz
core: fix typos in comment
-rw-r--r--src/core/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/main.c b/src/core/main.c
index 54ef7d182a..2f36d752bc 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -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");