Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/stand/efiboot/exec.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/stand/efiboot/exec.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.11 retrieving revision 1.11.2.1 diff -u -p -r1.11 -r1.11.2.1 --- src/sys/stand/efiboot/exec.c 2019/07/24 11:40:36 1.11 +++ src/sys/stand/efiboot/exec.c 2020/01/26 11:21:58 1.11.2.1 @@ -1,4 +1,4 @@ -/* $NetBSD: exec.c,v 1.11 2019/07/24 11:40:36 jmcneill Exp $ */ +/* $NetBSD: exec.c,v 1.11.2.1 2020/01/26 11:21:58 martin Exp $ */ /*- * Copyright (c) 2019 Jason R. Thorpe @@ -34,6 +34,8 @@ #include +extern char twiddle_toggle; + u_long load_offset = 0; #define FDT_SPACE (4 * 1024 * 1024) @@ -127,6 +129,7 @@ load_efibootplist(bool default_fallback) u_long plist_size = 0; prop_dictionary_t plist = NULL, oplist = NULL; bool load_quietly = false; + bool old_twiddle_toggle = twiddle_toggle; const char *path = get_efibootplist_path(); if (path == NULL || strlen(path) == 0) { @@ -136,6 +139,8 @@ load_efibootplist(bool default_fallback) load_quietly = true; } + twiddle_toggle = load_quietly; + /* * Fudge the size so we can ensure the resulting buffer * is NUL-terminated for convenience. @@ -157,6 +162,8 @@ load_efibootplist(bool default_fallback) out: oplist = efibootplist; + twiddle_toggle = old_twiddle_toggle; + /* * If we had a failure, create an empty one for * convenience. But a failure should not clobber