From 7a00c63420f81797b3e0cc402f756b63fe06f7d4 Mon Sep 17 00:00:00 2001 From: Austin English Date: Fri, 19 Oct 2018 14:56:35 -0500 Subject: fix misc whitespace issues --- src/rc/broadcast.c | 6 +++--- src/rc/broadcast.h | 2 +- src/rc/openrc-init.c | 2 +- 3 files changed, 5 insertions(+), 5 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); diff --git a/src/rc/broadcast.h b/src/rc/broadcast.h index 5f948272..1a95b46c 100644 --- a/src/rc/broadcast.h +++ b/src/rc/broadcast.h @@ -1,5 +1,5 @@ /* - * 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 diff --git a/src/rc/openrc-init.c b/src/rc/openrc-init.c index c57a3b06..e1aaeaee 100644 --- a/src/rc/openrc-init.c +++ b/src/rc/openrc-init.c @@ -193,7 +193,7 @@ int main(int argc, char **argv) } } } -#endif +#endif printf("OpenRC init version %s starting\n", VERSION); -- cgit v1.2.3