Nico Huber has submitted this change. ( https://review.coreboot.org/c/flashrom/+/61966 )
Change subject: hwaccess_x86_io: merge error message in rget_io_perms() ......................................................................
hwaccess_x86_io: merge error message in rget_io_perms()
Have the same error message on all platforms.
Change-Id: I7aae096deedd9b78f5fd38a73390cd8a33528545 Signed-off-by: Thomas Heijligen thomas.heijligen@secunet.com Reviewed-on: https://review.coreboot.org/c/flashrom/+/61966 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Angel Pons th3fanbus@gmail.com Reviewed-by: Nico Huber nico.h@gmx.de --- M hwaccess_x86_io.c 1 file changed, 2 insertions(+), 5 deletions(-)
Approvals: build bot (Jenkins): Verified Nico Huber: Looks good to me, approved Angel Pons: Looks good to me, but someone else must approve
diff --git a/hwaccess_x86_io.c b/hwaccess_x86_io.c index fc6ee54..635b27e 100644 --- a/hwaccess_x86_io.c +++ b/hwaccess_x86_io.c @@ -62,13 +62,10 @@ #endif msg_perr("ERROR: Could not get I/O privileges (%s).\n", strerror(errno)); msg_perr("You need to be root.\n"); -#if defined (__OpenBSD__) - msg_perr("If you are root already please set securelevel=-1 in /etc/rc.securelevel and\n" + msg_perr("On OpenBSD set securelevel=-1 in /etc/rc.securelevel and\n" "reboot, or reboot into single user mode.\n"); -#elif defined(__NetBSD__) - msg_perr("If you are root already please reboot into single user mode or make sure\n" + msg_perr("On NetBSD reboot into single user mode or make sure\n" "that your kernel configuration has the option INSECURE enabled.\n"); -#endif return 1; } else { register_shutdown(release_io_perms, NULL);
1 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one.