diff options
author | jkh <jkh@FreeBSD.org> | 1998-03-09 08:39:46 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1998-03-09 08:39:46 +0000 |
commit | 48a409bf2daf1f85a8ea93559331380ea14b8cb5 (patch) | |
tree | edd2064d3bb477bb44e75c2b548cc0f8ddca9485 /usr.sbin/sysinstall | |
parent | 79cce3bc9f4b3cdf19efdfdaa61a09b6c31ae8c3 (diff) | |
download | FreeBSD-src-48a409bf2daf1f85a8ea93559331380ea14b8cb5.zip FreeBSD-src-48a409bf2daf1f85a8ea93559331380ea14b8cb5.tar.gz |
MF22: nuke compat slice for root.
Diffstat (limited to 'usr.sbin/sysinstall')
-rw-r--r-- | usr.sbin/sysinstall/config.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/usr.sbin/sysinstall/config.c b/usr.sbin/sysinstall/config.c index d903b23..3272f5a 100644 --- a/usr.sbin/sysinstall/config.c +++ b/usr.sbin/sysinstall/config.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: config.c,v 1.104 1997/09/17 16:18:10 pst Exp $ + * $Id: config.c,v 1.105 1998/03/07 08:59:22 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -104,15 +104,7 @@ check_rootdev(Chunk **list, int n) static char * name_of(Chunk *c1) { - static char rootname[32]; - - /* Our boot blocks can't deal with root partitions on slices - need the compatbility name */ - if (c1->type == part && c1->flags & CHUNK_IS_ROOT) { - sprintf(rootname, "%sa", c1->disk->name); - return rootname; - } - else - return c1->name; + return c1->name; } static char * |