aboutsummaryrefslogtreecommitdiff
path: root/src/rc/broadcast.c
diff options
context:
space:
mode:
authorAustin English <austinenglish@gmail.com>2018-10-19 14:56:35 -0500
committerMike Frysinger <vapier@gmail.com>2018-11-27 21:22:29 -0500
commit7a00c63420f81797b3e0cc402f756b63fe06f7d4 (patch)
tree0ec44e3bf5d9937537b44d3658febf3bf0dcb9b9 /src/rc/broadcast.c
parentf4597c546a998085e09880aa6663d1d6ee05fac4 (diff)
fix misc whitespace issues
Diffstat (limited to 'src/rc/broadcast.c')
-rw-r--r--src/rc/broadcast.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rc/broadcast.c b/src/rc/broadcast.c
index dbc861d1..47e4ff6b 100644
--- a/src/rc/broadcast.c
+++ b/src/rc/broadcast.c
@@ -4,7 +4,7 @@
*/
/*
- * Copyright 2018 Sony Interactive Entertainment Inc.
+ * Copyright 2018 Sony Interactive Entertainment Inc.
*
* This file is part of OpenRC. It is subject to the license terms in
* the LICENSE file found in the top-level directory of this
@@ -153,7 +153,7 @@ void broadcast(char *text)
p = strchr(date, '\n');
if (p)
*p = 0;
-
+
xasprintf(&line, "\007\r\nBroadcast message from %s@%s %s(%s):\r\n\r\n",
user, name.nodename, tty, date);
@@ -162,7 +162,7 @@ void broadcast(char *text)
*/
if (fork() != 0)
return;
-
+
memset(&sa, 0, sizeof(sa));
sa.sa_handler = handler;
sigemptyset(&sa.sa_mask);