Lines Matching refs:errno
20 #include <errno.h>
65 return log_error_errno(errno, "Failed to stat directory %s: %m", new_root);
73 log_warning_errno(errno, "Failed to make \"/\" private mount: %m");
90 log_warning_errno(errno, "Failed to unmount %s: %m", i);
96 log_error_errno(errno, "Failed to move mount %s to %s, forcing unmount: %m", i, new_mount);
99 log_warning_errno(errno, "Failed to unmount %s: %m", i);
102 log_error_errno(errno, "Failed to bind mount %s to %s: %m", i, new_mount);
115 return log_error_errno(errno, "Failed to change directory to %s: %m", new_root);
120 log_warning_errno(errno, "Failed to open root directory: %m");
131 log_error_errno(errno, "Failed to lazily umount old root dir %s, %s: %m",
133 errno == ENOENT ? "ignoring" : "leaving it around");
136 return log_error_errno(errno, "Failed to mount moving %s to /: %m", new_root);
139 return log_error_errno(errno, "Failed to change root: %m");
142 return log_error_errno(errno, "Failed to change directory: %m");
148 log_warning_errno(errno, "Failed to stat old root directory, leaving: %m");