fix misc whitespace issues
This commit is contained in:
parent
f4597c546a
commit
7a00c63420
@ -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
|
* 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
|
* the LICENSE file found in the top-level directory of this
|
||||||
@ -153,7 +153,7 @@ void broadcast(char *text)
|
|||||||
p = strchr(date, '\n');
|
p = strchr(date, '\n');
|
||||||
if (p)
|
if (p)
|
||||||
*p = 0;
|
*p = 0;
|
||||||
|
|
||||||
xasprintf(&line, "\007\r\nBroadcast message from %s@%s %s(%s):\r\n\r\n",
|
xasprintf(&line, "\007\r\nBroadcast message from %s@%s %s(%s):\r\n\r\n",
|
||||||
user, name.nodename, tty, date);
|
user, name.nodename, tty, date);
|
||||||
|
|
||||||
@ -162,7 +162,7 @@ void broadcast(char *text)
|
|||||||
*/
|
*/
|
||||||
if (fork() != 0)
|
if (fork() != 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
memset(&sa, 0, sizeof(sa));
|
memset(&sa, 0, sizeof(sa));
|
||||||
sa.sa_handler = handler;
|
sa.sa_handler = handler;
|
||||||
sigemptyset(&sa.sa_mask);
|
sigemptyset(&sa.sa_mask);
|
||||||
|
@ -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
|
* 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
|
* the LICENSE file found in the top-level directory of this
|
||||||
|
@ -193,7 +193,7 @@ int main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
printf("OpenRC init version %s starting\n", VERSION);
|
printf("OpenRC init version %s starting\n", VERSION);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user