commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd] 23/64: startup: also open `console' for reading


From: Samuel Thibault
Subject: [hurd] 23/64: startup: also open `console' for reading
Date: Wed, 10 Dec 2014 15:17:05 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit 41eda58f8bfa602f7aa82157b5d1bd3c6ec30466
Author: Justus Winter <address@hidden>
Date:   Fri Nov 7 16:15:17 2014 +0100

    startup: also open `console' for reading
    
    * startup/startup.c (main): Also open `console' for reading.
---
 startup/startup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/startup/startup.c b/startup/startup.c
index ff58270..e177075 100644
--- a/startup/startup.c
+++ b/startup/startup.c
@@ -557,7 +557,7 @@ main (int argc, char **argv, char **envp)
      master device ports, and the console.  */
   if (task_get_bootstrap_port (mach_task_self (), &bootport)
       || fsys_getpriv (bootport, &host_priv, &device_master, &fstask)
-      || device_open (device_master, D_WRITE, "console", &consdev))
+      || device_open (device_master, D_READ|D_WRITE, "console", &consdev))
     crash_mach ();
 
   wire_task_self ();

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]