diff options
| author | Mike Smith <msmith@FreeBSD.org> | 1998-11-02 16:55:57 +0000 |
|---|---|---|
| committer | Mike Smith <msmith@FreeBSD.org> | 1998-11-02 16:55:57 +0000 |
| commit | 3c0efe5da18859728b85f1b012992f2f409818b7 (patch) | |
| tree | adf061ac79185cc5bb0960353da0104e9a08475e /sys/boot/common/boot.c | |
| parent | 489c66fe33fe61c7b7498410fdc91a144c35b039 (diff) | |
Notes
Diffstat (limited to 'sys/boot/common/boot.c')
| -rw-r--r-- | sys/boot/common/boot.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/boot/common/boot.c b/sys/boot/common/boot.c index 346cbef66c3f..2de8603e881e 100644 --- a/sys/boot/common/boot.c +++ b/sys/boot/common/boot.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: boot.c,v 1.8 1998/10/31 02:53:09 msmith Exp $ + * $Id: boot.c,v 1.9 1998/10/31 17:12:32 dfr Exp $ */ /* @@ -38,7 +38,7 @@ static char *getbootfile(int try); /* List of kernel names to try (may be overwritten by boot.config) XXX should move from here? */ -static char *default_bootfiles = "kernel,kernel.old"; +static char *default_bootfiles = "kernel;kernel.old"; static int autoboot_tried; @@ -243,11 +243,11 @@ getbootfile(int try) spec = default_bootfiles; while ((try > 0) && (spec != NULL)) { - spec = strchr(spec, ','); + spec = strchr(spec, ';'); try--; } if (spec != NULL) { - if ((ep = strchr(spec, ',')) != NULL) { + if ((ep = strchr(spec, ';')) != NULL) { len = ep - spec; } else { len = strlen(spec); |
