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);