Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x68k/stand/xxboot Set *file for FS_OPS() pathname p...
details: https://anonhg.NetBSD.org/src/rev/4ade02dbe5fe
branches: trunk
changeset: 782726:4ade02dbe5fe
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sat Nov 17 16:16:46 2012 +0000
description:
Set *file for FS_OPS() pathname properly in devopen().
Now bootxx_ffsv1 (and other bootxx ufs variants) work properly.
XXX: cd9660_open() in sys/lib/libsa/cd9660.c seems to open a file in
the first entry of root directory if specified path is empty.
Not sure if it's intentional behavoir.
diffstat:
sys/arch/x68k/stand/xxboot/bootmain.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (16 lines):
diff -r 8835593e3dae -r 4ade02dbe5fe sys/arch/x68k/stand/xxboot/bootmain.c
--- a/sys/arch/x68k/stand/xxboot/bootmain.c Sat Nov 17 16:03:48 2012 +0000
+++ b/sys/arch/x68k/stand/xxboot/bootmain.c Sat Nov 17 16:16:46 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bootmain.c,v 1.2 2012/11/17 15:59:28 tsutsui Exp $ */
+/* $NetBSD: bootmain.c,v 1.3 2012/11/17 16:16:46 tsutsui Exp $ */
/*-
* Copyright (c) 1993, 1994 Takumi Nakamura.
@@ -130,5 +130,6 @@
devopen(struct open_file *f, const char *fname, char **file)
{
+ *file = __UNCONST(fname);
return xxopen(f);
}
Home |
Main Index |
Thread Index |
Old Index