Module Name: src Committed By: tsutsui Date: Sat Nov 17 16:16:46 UTC 2012
Modified Files: src/sys/arch/x68k/stand/xxboot: bootmain.c Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x68k/stand/xxboot/bootmain.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/x68k/stand/xxboot/bootmain.c diff -u src/sys/arch/x68k/stand/xxboot/bootmain.c:1.2 src/sys/arch/x68k/stand/xxboot/bootmain.c:1.3 --- src/sys/arch/x68k/stand/xxboot/bootmain.c:1.2 Sat Nov 17 15:59:28 2012 +++ src/sys/arch/x68k/stand/xxboot/bootmain.c Sat Nov 17 16:16:46 2012 @@ -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 @@ int devopen(struct open_file *f, const char *fname, char **file) { + *file = __UNCONST(fname); return xxopen(f); }