Branch: master

8c113634 2015-04-13 19:17:23 Timothy Pearson
Fix comments
M kdesktop/lockeng.cc
diff --git a/kdesktop/lockeng.cc b/kdesktop/lockeng.cc
index 43930e9..600573f 100644
--- a/kdesktop/lockeng.cc
+++ b/kdesktop/lockeng.cc
@@ -837,13 +837,13 @@
 	sigset_t empty_mask;
 	sigemptyset(&empty_mask);
 
-	// ensure that SIGCHLD is not subjec to a race condition
+	// ensure that SIGCHLD is not subject to a race condition
 	sigemptyset(&new_mask);
 	sigaddset(&new_mask, SIGCHLD);
 
 	pthread_sigmask(SIG_BLOCK, &new_mask, NULL);
 	while ((mLockProcess.isRunning()) && (!mSaverProcessReady)) {
-		// wait for any signal to arrive
+		// wait for any signal(s) to arrive
 		sigsuspend(&empty_mask);
 	}
 	pthread_sigmask(SIG_UNBLOCK, &new_mask, NULL);
@@ -857,7 +857,7 @@
 
 	// wait for SIGUSR1, SIGUSR2, SIGTTIN
 	while ((mLockProcess.isRunning()) && (mState != Waiting) && (mState != Saving)) {
-		// wait for any signal to arrive
+		// wait for any signal(s) to arrive
 		sigsuspend(&empty_mask);
 	}