summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/dist.c
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2006-10-23 20:49:49 +0000
committererwin <erwin@FreeBSD.org>2006-10-23 20:49:49 +0000
commitc7db2750ccbe06f7357540a17bae353d0993fa05 (patch)
treedc07b505332c28990bbbe31c9ac460bc840ca1e9 /usr.sbin/sysinstall/dist.c
parentb6359024435b1df80354cfeb0c7532e35adae89a (diff)
downloadFreeBSD-src-c7db2750ccbe06f7357540a17bae353d0993fa05.zip
FreeBSD-src-c7db2750ccbe06f7357540a17bae353d0993fa05.tar.gz
If the user did not chose a distribution from the menu, a sensible
default distribution (user) will be installed, however, no kernel will be installed. Fix this by installing a sensible default kernel, SMP/GENERIC, depending on WITH_SMP and number of CPUS found. Reviewed by: jhb
Diffstat (limited to 'usr.sbin/sysinstall/dist.c')
-rw-r--r--usr.sbin/sysinstall/dist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/dist.c b/usr.sbin/sysinstall/dist.c
index b1eb018..87815f2 100644
--- a/usr.sbin/sysinstall/dist.c
+++ b/usr.sbin/sysinstall/dist.c
@@ -211,7 +211,7 @@ distSetX(void)
return distSetXOrg(NULL);
}
-static int
+int
selectKernel(void)
{
#ifdef WITH_SMP
OpenPOWER on IntegriCloud