summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/paths.h3
-rw-r--r--lib/libc/gen/getusershell.c4
2 files changed, 4 insertions, 3 deletions
diff --git a/include/paths.h b/include/paths.h
index 18f8c377df0..eeac17484f5 100644
--- a/include/paths.h
+++ b/include/paths.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: paths.h,v 1.21 2004/04/13 17:04:49 millert Exp $ */
+/* $OpenBSD: paths.h,v 1.22 2005/04/02 17:04:52 millert Exp $ */
/* $NetBSD: paths.h,v 1.7 1994/10/26 00:56:12 cgd Exp $ */
/*
@@ -50,6 +50,7 @@
#define _PATH_FSIRAND "/sbin/fsirand"
#define _PATH_KLOG "/dev/klog"
#define _PATH_KMEM "/dev/kmem"
+#define _PATH_KSHELL "/bin/ksh"
#define _PATH_KSYMS "/dev/ksyms"
#define _PATH_KVMDB "/var/db/kvm_bsd.db"
#define _PATH_LOCALE "/usr/share/locale"
diff --git a/lib/libc/gen/getusershell.c b/lib/libc/gen/getusershell.c
index 6924c05dba0..108a4cc13dc 100644
--- a/lib/libc/gen/getusershell.c
+++ b/lib/libc/gen/getusershell.c
@@ -28,7 +28,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: getusershell.c,v 1.6 2005/03/25 15:38:47 otto Exp $";
+static char rcsid[] = "$OpenBSD: getusershell.c,v 1.7 2005/04/02 17:04:52 millert Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/param.h>
@@ -45,7 +45,7 @@ static char rcsid[] = "$OpenBSD: getusershell.c,v 1.6 2005/03/25 15:38:47 otto E
* /etc/shells.
*/
-static char *okshells[] = { _PATH_BSHELL, _PATH_CSHELL, NULL };
+static char *okshells[] = { _PATH_BSHELL, _PATH_CSHELL, _PATH_KSHELL, NULL };
static char **curshell, **shells, *strings;
static char **initshells(void);