diff options
Diffstat (limited to 'sys/arch/vax')
-rw-r--r-- | sys/arch/vax/boot/boot/boot.c | 6 | ||||
-rw-r--r-- | sys/arch/vax/stand/boot/boot.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/vax/boot/boot/boot.c b/sys/arch/vax/boot/boot/boot.c index 4d0986b3f4e..09463870529 100644 --- a/sys/arch/vax/boot/boot/boot.c +++ b/sys/arch/vax/boot/boot/boot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: boot.c,v 1.12 2003/08/15 23:16:30 deraadt Exp $ */ +/* $OpenBSD: boot.c,v 1.13 2005/06/12 18:16:13 xsa Exp $ */ /* $NetBSD: boot.c,v 1.18 2002/05/31 15:58:26 ragge Exp $ */ /*- * Copyright (c) 1982, 1986 The Regents of the University of California. @@ -182,7 +182,7 @@ Xmain(void) if (c[0] == 0) continue; - if ((d = index(c, ' '))) + if ((d = strchr(c, ' '))) *d++ = 0; while (v->namn) { @@ -218,7 +218,7 @@ boot(char *arg) if (*arg != '-') { fn = arg; - if ((arg = index(arg, ' '))) { + if ((arg = strchr(arg, ' '))) { *arg++ = 0; while (*arg == ' ') arg++; diff --git a/sys/arch/vax/stand/boot/boot.c b/sys/arch/vax/stand/boot/boot.c index 4d0986b3f4e..09463870529 100644 --- a/sys/arch/vax/stand/boot/boot.c +++ b/sys/arch/vax/stand/boot/boot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: boot.c,v 1.12 2003/08/15 23:16:30 deraadt Exp $ */ +/* $OpenBSD: boot.c,v 1.13 2005/06/12 18:16:13 xsa Exp $ */ /* $NetBSD: boot.c,v 1.18 2002/05/31 15:58:26 ragge Exp $ */ /*- * Copyright (c) 1982, 1986 The Regents of the University of California. @@ -182,7 +182,7 @@ Xmain(void) if (c[0] == 0) continue; - if ((d = index(c, ' '))) + if ((d = strchr(c, ' '))) *d++ = 0; while (v->namn) { @@ -218,7 +218,7 @@ boot(char *arg) if (*arg != '-') { fn = arg; - if ((arg = index(arg, ' '))) { + if ((arg = strchr(arg, ' '))) { *arg++ = 0; while (*arg == ' ') arg++; |