Fix "Fix a garbage in previous commit." in 1.10.
Hi, junyoung!
This commit is contained in:
parent
1119cb908e
commit
a3d6358dce
|
@ -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
|
* Copyright (c) 2003
|
||||||
|
@ -335,7 +335,7 @@ command_dev(char *arg)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strchr(arg, ':') != NULL ||
|
if (strchr(arg, ':') == NULL ||
|
||||||
parsebootfile(arg, &fsname, &devname, &default_unit,
|
parsebootfile(arg, &fsname, &devname, &default_unit,
|
||||||
&default_partition, &file)) {
|
&default_partition, &file)) {
|
||||||
command_help(NULL);
|
command_help(NULL);
|
||||||
|
|
Loading…
Reference in New Issue