git: 31c2bcad7e44 - main - loader: remove left over call to unsetenv()

Toomas Soome tsoome at FreeBSD.org
Wed Jan 6 12:36:24 UTC 2021


The branch main has been updated by tsoome:

URL: https://cgit.FreeBSD.org/src/commit/?id=31c2bcad7e440fbba547c8557b29c34871b53648

commit 31c2bcad7e440fbba547c8557b29c34871b53648
Author:     Toomas Soome <tsoome at FreeBSD.org>
AuthorDate: 2021-01-06 11:56:48 +0000
Commit:     Toomas Soome <tsoome at FreeBSD.org>
CommitDate: 2021-01-06 12:35:26 +0000

    loader: remove left over call to unsetenv()
    
    We do not touch kern.vt.fb.default_mode.
---
 stand/i386/libi386/vidconsole.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/stand/i386/libi386/vidconsole.c b/stand/i386/libi386/vidconsole.c
index 3eff40588dfc..a965c1d2e4f2 100644
--- a/stand/i386/libi386/vidconsole.c
+++ b/stand/i386/libi386/vidconsole.c
@@ -912,7 +912,6 @@ cons_update_mode(bool use_gfx_mode)
 		unsetenv("screen.height");
 		unsetenv("screen.width");
 		unsetenv("screen.depth");
-		unsetenv("kern.vt.fb.default_mode");
 		vidc_install_font();
 	}
 


More information about the dev-commits-src-all mailing list