Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/stand/efiboot Revert rev 1.12 of devopen.c. T...
details: https://anonhg.NetBSD.org/src/rev/e5c4c25f7485
branches: trunk
changeset: 1029201:e5c4c25f7485
user: simonb <simonb%NetBSD.org@localhost>
date: Mon Dec 27 12:19:27 2021 +0000
description:
Revert rev 1.12 of devopen.c. This had the unintented side effect
of breaking opens on non-root filesystems (eg trying to open/read
"esp:/EFI/NetBSD/boot.cfg" on the EFI system partition).
Ok manu@. Original problem to be re-addressed.
diffstat:
sys/arch/i386/stand/efiboot/devopen.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r fee505e5e3b0 -r e5c4c25f7485 sys/arch/i386/stand/efiboot/devopen.c
--- a/sys/arch/i386/stand/efiboot/devopen.c Mon Dec 27 11:06:49 2021 +0000
+++ b/sys/arch/i386/stand/efiboot/devopen.c Mon Dec 27 12:19:27 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: devopen.c,v 1.12 2021/11/18 16:18:13 manu Exp $ */
+/* $NetBSD: devopen.c,v 1.13 2021/12/27 12:19:27 simonb Exp $ */
/*-
* Copyright (c) 2005 The NetBSD Foundation, Inc.
@@ -288,9 +288,8 @@
* biosdisk
*/
if (strcmp(devname, "esp") == 0) {
- const char *part_name = NULL;
bios2dev(boot_biosdev, boot_biossector, &devname, &unit,
- &partition, &part_name);
+ &partition, NULL);
if (efidisk_get_efi_system_partition(boot_biosdev, &partition))
return ENXIO;
}
Home |
Main Index |
Thread Index |
Old Index