From 997484be73a2b9c37b7090b21124580a6a1c504a Mon Sep 17 00:00:00 2001 From: Matthew Fischer Date: Mon, 4 Jun 2012 22:25:47 -0600 Subject: fixing 999718 --- src/vt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vt.c') diff --git a/src/vt.c b/src/vt.c index a0fe2091..c2b1c0d6 100644 --- a/src/vt.c +++ b/src/vt.c @@ -30,7 +30,7 @@ open_console (void) { int fd; - fd = g_open ("/dev/console", O_RDONLY | O_NOCTTY); + fd = g_open ("/dev/console", O_RDONLY | O_NOCTTY, 0); if (fd < 0) g_warning ("Error opening /dev/console: %s", strerror (errno)); return fd; -- cgit v1.2.1