From a3d6358dcee7297fda99ce05ab53b41993614331 Mon Sep 17 00:00:00 2001 From: ws Date: Sun, 8 Jul 2007 11:44:08 +0000 Subject: [PATCH] Fix "Fix a garbage in previous commit." in 1.10. Hi, junyoung! --- sys/arch/i386/stand/boot/boot2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/i386/stand/boot/boot2.c b/sys/arch/i386/stand/boot/boot2.c index 15eefc868675..2523e791ed4a 100644 --- a/sys/arch/i386/stand/boot/boot2.c +++ b/sys/arch/i386/stand/boot/boot2.c @@ -1,4 +1,4 @@ -/* $NetBSD: boot2.c,v 1.12 2005/12/11 12:17:47 christos Exp $ */ +/* $NetBSD: boot2.c,v 1.13 2007/07/08 11:44:08 ws Exp $ */ /* * Copyright (c) 2003 @@ -335,7 +335,7 @@ command_dev(char *arg) return; } - if (strchr(arg, ':') != NULL || + if (strchr(arg, ':') == NULL || parsebootfile(arg, &fsname, &devname, &default_unit, &default_partition, &file)) { command_help(NULL);