Perform minor cleanups

This commit is contained in:
Justine Tunney 2023-02-02 00:32:30 -08:00
parent fd0da9c0df
commit 7486a2cd51
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
4 changed files with 9 additions and 8 deletions

View file

@ -55,7 +55,7 @@ textstartup void InitializeFileDescriptors(void) {
kMemtrackFdsStart + kMemtrackFdsSize);
if (IsMetal()) {
extern const char vga_console[];
pushmov(&fds->f, 3ull);
fds->f = 3;
if (_weaken(vga_console)) {
fds->p[0].kind = pushpop(kFdConsole);
fds->p[1].kind = pushpop(kFdConsole);