Tweak log messages around efivarsfs and hibernation (#36921)

This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2025-04-02 11:30:26 +02:00
committed by GitHub
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -172,11 +172,10 @@ static int run(int argc, char *argv[]) {
/* The write shall not return if a resume takes place. */
r = write_resume_config(st.st_rdev, arg_info.offset, arg_info.device);
log_full_errno(r < 0 ? LOG_ERR : LOG_DEBUG,
log_full_errno(r < 0 || arg_info.efi ? LOG_WARNING : LOG_INFO,
r < 0 ? r : SYNTHETIC_ERRNO(ENOENT),
"Unable to resume from device '%s' (" DEVNUM_FORMAT_STR ") offset %" PRIu64 ", continuing boot process.",
arg_info.device, DEVNUM_FORMAT_VAL(st.st_rdev), arg_info.offset);
return r;
}
+1 -1
View File
@@ -206,7 +206,7 @@ static int mount_one(const MountPoint *p, bool relabel) {
p->what,
p->where,
p->type,
strna(o));
o ?: "''");
r = mount_verbose_full(priority, p->what, p->where, p->type, p->flags, o, FLAGS_SET(p->mode, MNT_FOLLOW_SYMLINK));
if (r < 0)