diff options
author | msmith <msmith@FreeBSD.org> | 1998-11-02 16:55:57 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 1998-11-02 16:55:57 +0000 |
commit | fed03efc4e74bf51573b86a96eb6222ccb691e40 (patch) | |
tree | f8998c8d5bdf7890164554527d20945827cddb61 /sys/boot/common | |
parent | 55bc1d535011c218c5a6bff82aeacbab6dac6a96 (diff) | |
download | FreeBSD-src-fed03efc4e74bf51573b86a96eb6222ccb691e40.zip FreeBSD-src-fed03efc4e74bf51573b86a96eb6222ccb691e40.tar.gz |
Standardise on ';' as a component separator; it seems to be a little more
common than ','.
Diffstat (limited to 'sys/boot/common')
-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 346cbef..2de8603 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); |