]> rtime.felk.cvut.cz Git - sojka/lightdm.git/commitdiff
fixing 999718
authorMatthew Fischer <matthew.fischer@canonical.com>
Tue, 5 Jun 2012 04:25:47 +0000 (22:25 -0600)
committerMatthew Fischer <matthew.fischer@canonical.com>
Tue, 5 Jun 2012 04:25:47 +0000 (22:25 -0600)
src/vt.c

index a0fe20917ce732aeb47a58878b207dd607f64975..c2b1c0d662f005ae5b6031e8c2909ed74c887fd4 100644 (file)
--- 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;