summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2017-11-22 16:52:41 +1300
committerRobert Ancell <robert.ancell@canonical.com>2017-11-22 16:52:41 +1300
commit1677e594f0c89923955f01a68b8978cb87538a81 (patch)
tree88ea21b24356322309000057b7f7d5e417aac56c /src
parentfe28fb17147611a99c03bf593f10f1fb73d80c59 (diff)
downloadlightdm-git-1677e594f0c89923955f01a68b8978cb87538a81.tar.gz
Fix typos in code comments
Diffstat (limited to 'src')
-rw-r--r--src/session-child.c2
-rw-r--r--src/unity-system-compositor.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/session-child.c b/src/session-child.c
index 0d689330..d4035366 100644
--- a/src/session-child.c
+++ b/src/session-child.c
@@ -541,7 +541,7 @@ session_child_run (int argc, char **argv)
close (fd);
}
- /* Set group membership - these can be overriden in pam_setcred */
+ /* Set group membership - these can be overridden in pam_setcred */
if (getuid () == 0)
{
if (initgroups (username, user_get_gid (user)) < 0)
diff --git a/src/unity-system-compositor.c b/src/unity-system-compositor.c
index 815be498..09ecb17e 100644
--- a/src/unity-system-compositor.c
+++ b/src/unity-system-compositor.c
@@ -443,7 +443,7 @@ unity_system_compositor_start (DisplayServer *server)
g_signal_connect (compositor->priv->process, PROCESS_SIGNAL_STOPPED, G_CALLBACK (stopped_cb), compositor);
result = process_start (compositor->priv->process, FALSE);
- /* Close compostor ends of the pipes */
+ /* Close compositor ends of the pipes */
close (compositor->priv->to_compositor_pipe[0]);
compositor->priv->to_compositor_pipe[0] = -1;
close (compositor->priv->from_compositor_pipe[1]);