Correct a number of trivial typos.
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
4f03608b51
commit
3fe910794b
@@ -1482,7 +1482,7 @@ static int method_switch_root(sd_bus_message *message, void *userdata, sd_bus_er
|
||||
|
||||
if (available < RELOAD_DISK_SPACE_MIN) {
|
||||
char fb_available[FORMAT_BYTES_MAX], fb_need[FORMAT_BYTES_MAX];
|
||||
log_warning("Dangerously low amount of free space on /run/systemd, root switching operation might not complete successfuly. "
|
||||
log_warning("Dangerously low amount of free space on /run/systemd, root switching operation might not complete successfully. "
|
||||
"Currently, %s are free, but %s are suggested. Proceeding anyway.",
|
||||
format_bytes(fb_available, sizeof(fb_available), available),
|
||||
format_bytes(fb_need, sizeof(fb_need), RELOAD_DISK_SPACE_MIN));
|
||||
|
||||
+1
-1
@@ -4841,7 +4841,7 @@ int exec_runtime_deserialize_compat(Unit *u, const char *key, const char *value,
|
||||
if (rt_create) {
|
||||
r = hashmap_put(u->manager->exec_runtime_by_id, rt_create->id, rt_create);
|
||||
if (r < 0) {
|
||||
log_unit_debug_errno(u, r, "Failed to put runtime paramter to manager's storage: %m");
|
||||
log_unit_debug_errno(u, r, "Failed to put runtime parameter to manager's storage: %m");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1641,7 +1641,7 @@ static int invoke_main_loop(
|
||||
|
||||
log_info("Reloading.");
|
||||
|
||||
/* First, save any overriden log level/target, then parse the configuration file, which might
|
||||
/* First, save any overridden log level/target, then parse the configuration file, which might
|
||||
* change the log level to new settings. */
|
||||
|
||||
saved_log_level = m->log_level_overridden ? log_get_max_level() : -1;
|
||||
|
||||
@@ -67,7 +67,7 @@ typedef struct MountEntry {
|
||||
} MountEntry;
|
||||
|
||||
/* If MountAPIVFS= is used, let's mount /sys and /proc into the it, but only as a fallback if the user hasn't mounted
|
||||
* something there already. These mounts are hence overriden by any other explicitly configured mounts. */
|
||||
* something there already. These mounts are hence overridden by any other explicitly configured mounts. */
|
||||
static const MountEntry apivfs_table[] = {
|
||||
{ "/proc", PROCFS, false },
|
||||
{ "/dev", BIND_DEV, false },
|
||||
|
||||
+1
-1
@@ -5419,7 +5419,7 @@ int unit_pid_attachable(Unit *u, pid_t pid, sd_bus_error *error) {
|
||||
|
||||
/* Some extra safety check */
|
||||
if (pid == 1 || pid == getpid_cached())
|
||||
return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Process " PID_FMT " is a manager processs, refusing.", pid);
|
||||
return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Process " PID_FMT " is a manager process, refusing.", pid);
|
||||
|
||||
/* Don't even begin to bother with kernel threads */
|
||||
r = is_kernel_thread(pid);
|
||||
|
||||
Reference in New Issue
Block a user