Lines Matching refs:from
399 static int version_check(int fd, const char *from, const char *to) {
405 assert(from);
412 log_error("Source file \"%s\" does not carry version information!", from);
440 static int copy_file(const char *from, const char *to, bool force) {
447 assert(from);
450 f = fopen(from, "re");
452 return log_error_errno(errno, "Failed to open \"%s\" for reading: %m", from);
456 r = version_check(fileno(f), from, to);
478 r = log_error_errno(EIO, "Failed to read \"%s\": %m", from);
500 r = log_error_errno(errno, "Failed to get file timestamps of \"%s\": %m", from);
518 log_info("Copied \"%s\" to \"%s\".", from, to);
927 " remove Remove systemd-boot from the ESP and EFI variables\n",