Fix "Fix a garbage in previous commit." in 1.10.

Hi, junyoung!
This commit is contained in:
ws 2007-07-08 11:44:08 +00:00
parent 1119cb908e
commit a3d6358dce
1 changed files with 2 additions and 2 deletions

View File

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