summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-06-21 17:20:09 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-06-21 17:20:09 +0000
commitfaef463e817867b4e74159c97bcd041899c26c5d (patch)
tree82c35affcc8f675fed4aa38476dfde828e097dcc
parentc117c7d5fb4fb66ee90dea54f78d1ee670c62ee6 (diff)
*** empty log message ***
-rw-r--r--init/init.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/init/init.c b/init/init.c
index 3ab61332..7f340cf1 100644
--- a/init/init.c
+++ b/init/init.c
@@ -19,6 +19,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Written by Michael I. Bushnell and Roland McGrath. */
+/* This is probably more include files than I've ever seen before for
+ one file. */
#include <hurd.h>
#include <hurd/fs.h>
#include <hurd/fsys.h>
@@ -94,6 +96,9 @@ struct ess_task
struct ess_task *ess_tasks;
struct ntfy_task *ntfy_tasks;
+/* Mapped time */
+volatile struct mapped_time_value *mapped_time;
+
/* All the ttys in /etc/ttys. */
struct terminal
{
@@ -1144,6 +1149,9 @@ launch_multi_user ()
{
int fail;
+ if (!mapped_time)
+ maptime_map (1, 0, &mapped_time);
+
fail = init_ttys ();
if (fail)
launch_single_user ();