diff --git a/man/systemd.netdev.xml b/man/systemd.netdev.xml index 7faa38d502..d950eb578b 100644 --- a/man/systemd.netdev.xml +++ b/man/systemd.netdev.xml @@ -1006,7 +1006,7 @@ (see wg8). This option is mandatory to use WireGuard. Note that because this information is secret, you may want to set - the permissions of the .netdev file to be owned by root:systemd-networkd + the permissions of the .netdev file to be owned by root:systemd-network with a 0640 file mode. diff --git a/src/basic/process-util.c b/src/basic/process-util.c index 0a4f917cbd..0a5280eb24 100644 --- a/src/basic/process-util.c +++ b/src/basic/process-util.c @@ -1153,7 +1153,7 @@ void reset_cached_pid(void) { /* We use glibc __register_atfork() + __dso_handle directly here, as they are not included in the glibc * headers. __register_atfork() is mostly equivalent to pthread_atfork(), but doesn't require us to link against * libpthread, as it is part of glibc anyway. */ -extern int __register_atfork(void (*prepare) (void), void (*parent) (void), void (*child) (void), void * __dso_handle); +extern int __register_atfork(void (*prepare) (void), void (*parent) (void), void (*child) (void), void *dso_handle); extern void* __dso_handle __attribute__ ((__weak__)); pid_t getpid_cached(void) { diff --git a/src/login/logind-user.c b/src/login/logind-user.c index 99358360ab..e18a6f0efe 100644 --- a/src/login/logind-user.c +++ b/src/login/logind-user.c @@ -753,7 +753,7 @@ int config_parse_compat_user_tasks_max( log_syntax(unit, LOG_NOTICE, filename, line, 0, "Support for option %s= has been removed.", lvalue); - log_info("Hint: try creating /etc/systemd/system/user-.slice/50-limits.conf with:\n" + log_info("Hint: try creating /etc/systemd/system/user-.slice.d/50-limits.conf with:\n" " [Slice]\n" " TasksMax=%s", rvalue);