diff options
author | SjonHortensius <SjonHortensius@users.noreply.github.com> | 2018-03-04 13:12:45 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-03-04 21:12:45 +0900 |
commit | fe4a1d0f0decd8c89a335be665b3d5be9355e3a2 (patch) | |
tree | 0b186eb0b88e822f1bc5d5b50c0ec019abc9fe0a /src/machine | |
parent | d5339ab1237c576bb2052b83dcb585ee4c42cff1 (diff) | |
download | systemd-fe4a1d0f0decd8c89a335be665b3d5be9355e3a2.tar.gz |
fixed 3 occurences of 'Failed top open' (#8349)
Diffstat (limited to 'src/machine')
-rw-r--r-- | src/machine/machine-dbus.c | 2 | ||||
-rw-r--r-- | src/machine/machined-dbus.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/machine/machine-dbus.c b/src/machine/machine-dbus.c index 2d7806491b..9c435d6715 100644 --- a/src/machine/machine-dbus.c +++ b/src/machine/machine-dbus.c @@ -1204,7 +1204,7 @@ int bus_machine_method_copy(sd_bus_message *message, void *userdata, sd_bus_erro containerfd = open(container_dirname, O_CLOEXEC|O_RDONLY|O_NOCTTY|O_DIRECTORY); if (containerfd < 0) { - r = log_error_errno(errno, "Failed top open destination directory: %m"); + r = log_error_errno(errno, "Failed to open destination directory: %m"); goto child_fail; } diff --git a/src/machine/machined-dbus.c b/src/machine/machined-dbus.c index c5e59c4716..2eb97ebed0 100644 --- a/src/machine/machined-dbus.c +++ b/src/machine/machined-dbus.c @@ -1327,7 +1327,7 @@ static int method_map_to_machine_user(sd_bus_message *message, void *userdata, s xsprintf(p, "/proc/" UID_FMT "/uid_map", machine->leader); f = fopen(p, "re"); if (!f) { - log_warning_errno(errno, "Failed top open %s, ignoring,", p); + log_warning_errno(errno, "Failed to open %s, ignoring,", p); continue; } @@ -1445,7 +1445,7 @@ static int method_map_to_machine_group(sd_bus_message *message, void *groupdata, xsprintf(p, "/proc/" GID_FMT "/gid_map", machine->leader); f = fopen(p, "re"); if (!f) { - log_warning_errno(errno, "Failed top open %s, ignoring,", p); + log_warning_errno(errno, "Failed to open %s, ignoring,", p); continue; } |