summaryrefslogtreecommitdiff
path: root/src/session.c
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2012-03-05 11:23:32 +1100
committerRobert Ancell <robert.ancell@canonical.com>2012-03-05 11:23:32 +1100
commit457e99f08bba531f8452894a76306dee92fa6393 (patch)
tree4e16dc4fccfe1d7158898f613a9461677d712680 /src/session.c
parent5f146e0db50357c8cd3630834a090f1ec33b083a (diff)
downloadlightdm-457e99f08bba531f8452894a76306dee92fa6393.tar.gz
Stop file descriptors leaking into the session processes
Diffstat (limited to 'src/session.c')
-rw-r--r--src/session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/session.c b/src/session.c
index cb300d65..c2b4e7ad 100644
--- a/src/session.c
+++ b/src/session.c
@@ -326,7 +326,7 @@ session_start (Session *session, const gchar *service, const gchar *username, gb
/* Create pipes to talk to the child */
if (pipe (to_child_pipe) < 0 || pipe (from_child_pipe) < 0)
{
- g_warning ("Failed to create pipe to communicated with session process: %s", strerror (errno));
+ g_warning ("Failed to create pipe to communicate with session process: %s", strerror (errno));
return FALSE;
}
to_child_output = to_child_pipe[0];