summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Fischer <matthew.fischer@canonical.com>2012-06-04 22:25:47 -0600
committerMatthew Fischer <matthew.fischer@canonical.com>2012-06-04 22:25:47 -0600
commit997484be73a2b9c37b7090b21124580a6a1c504a (patch)
treeb0aa0442a217aec5a5b8ee5ce7afae3d95a6bae9
parenta722b7a07c94287eabbeb8dc294fa7104104e7e2 (diff)
downloadlightdm-997484be73a2b9c37b7090b21124580a6a1c504a.tar.gz
fixing 999718
-rw-r--r--src/vt.c2
1 files changed, 1 insertions, 1 deletions
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;