]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
fixed 3 occurences of 'Failed top open' (#8349)
authorSjonHortensius <SjonHortensius@users.noreply.github.com>
Sun, 4 Mar 2018 12:12:45 +0000 (13:12 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 4 Mar 2018 12:12:45 +0000 (21:12 +0900)
src/machine/machine-dbus.c
src/machine/machined-dbus.c
src/tty-ask-password-agent/tty-ask-password-agent.c

index 2d7806491bfe6e07c046ff572e2f7fa728e96d97..9c435d6715a74c9fcb618417344a6a3710db6375 100644 (file)
@@ -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;
                 }
 
index c5e59c4716ab13cb31cfea4a1a894427d793f229..2eb97ebed0c191a3883d9c57608636aea6242d8b 100644 (file)
@@ -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;
                 }
 
index c52a19dc374efe31603d14149b28ff5c80afb3f4..74a10bb17590555ec8ac8df068c0223cd24c5a31 100644 (file)
@@ -468,7 +468,7 @@ static bool wall_tty_match(const char *path, void *userdata) {
 
         fd = open(p, O_WRONLY|O_CLOEXEC|O_NONBLOCK|O_NOCTTY);
         if (fd < 0) {
-                log_debug_errno(errno, "Failed top open the wall pipe: %m");
+                log_debug_errno(errno, "Failed to open the wall pipe: %m");
                 return 1;
         }