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 ``int i'' is used only for SUPPO...
details: https://anonhg.NetBSD.org/src/rev/969b23fea224
branches: trunk
changeset: 376485:969b23fea224
user: rin <rin%NetBSD.org@localhost>
date: Tue Jun 20 07:46:03 2023 +0000
description:
``int i'' is used only for SUPPORT_NFS || SUPPORT_TFTP.
diffstat:
sys/arch/i386/stand/efiboot/devopen.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (25 lines):
diff -r 59dff1170fbb -r 969b23fea224 sys/arch/i386/stand/efiboot/devopen.c
--- a/sys/arch/i386/stand/efiboot/devopen.c Tue Jun 20 07:17:11 2023 +0000
+++ b/sys/arch/i386/stand/efiboot/devopen.c Tue Jun 20 07:46:03 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: devopen.c,v 1.13 2021/12/27 12:19:27 simonb Exp $ */
+/* $NetBSD: devopen.c,v 1.14 2023/06/20 07:46:03 rin Exp $ */
/*-
* Copyright (c) 2005 The NetBSD Foundation, Inc.
@@ -154,13 +154,13 @@ devopen(struct open_file *f, const char
const char *xname = NULL;
int unit, partition;
int biosdev;
- int i, error;
+ int error;
#if defined(SUPPORT_NFS) || defined(SUPPORT_TFTP)
struct devdesc desc;
const struct netboot_fstab *nf;
char *filename;
size_t fsnamelen;
- int n;
+ int i, n;
#endif
error = parsebootfile(fname, &fsname, &devname, &unit, &partition,
Home |
Main Index |
Thread Index |
Old Index