Whitespace corrections
Signed-off-by: Murray Calavera <murray.calavera@gmail.com>
diff --git a/src/weston-launch.c b/src/weston-launch.c
index 10c66de..52c89d3 100644
--- a/src/weston-launch.c
+++ b/src/weston-launch.c
@@ -114,7 +114,7 @@
{
int n;
gid_t *groups;
-
+
n = getgroups(0, NULL);
if (n < 0) {
@@ -174,7 +174,7 @@
free(session);
}
#endif
-
+
return false;
}
@@ -224,7 +224,7 @@
{
if (socketpair(AF_LOCAL, SOCK_SEQPACKET, 0, wl->sock) < 0)
error(1, errno, "socketpair failed");
-
+
if (fcntl(wl->sock[0], F_SETFD, FD_CLOEXEC) < 0)
error(1, errno, "fcntl failed");
@@ -531,7 +531,7 @@
error(1, errno, "could not open tty0");
if (ioctl(tty0, VT_OPENQRY, &wl->ttynr) < 0 || wl->ttynr == -1)
- error(1, errno, "failed to find non-opened console");
+ error(1, errno, "failed to find non-opened console");
snprintf(filename, sizeof filename, "/dev/tty%d", wl->ttynr);
wl->tty = open(filename, O_RDWR | O_NOCTTY);
@@ -680,7 +680,7 @@
{ "verbose", no_argument, NULL, 'v' },
{ "help", no_argument, NULL, 'h' },
{ 0, 0, NULL, 0 }
- };
+ };
memset(&wl, 0, sizeof wl);