aboutsummaryrefslogtreecommitdiff
path: root/src/rc/openrc-shutdown.c
diff options
context:
space:
mode:
authorphilhofer <phofer@umich.edu>2018-12-27 10:06:01 -0800
committerWilliam Hubbs <w.d.hubbs@gmail.com>2018-12-27 13:13:09 -0600
commit3e00fbc9b08dde9e2c7fc26ecb9e831417012dd1 (patch)
tree4bc5591969f665faf8a05251ec53e5e279643734 /src/rc/openrc-shutdown.c
parent846e4600754dab3f0cb49edb4ad9e2b2b73d3f47 (diff)
fix leading whitespace
Clean up code indented with mixed tabs and spaces. No actual code changes. This fixes #280.
Diffstat (limited to 'src/rc/openrc-shutdown.c')
-rw-r--r--src/rc/openrc-shutdown.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rc/openrc-shutdown.c b/src/rc/openrc-shutdown.c
index 2c8863bb..45936052 100644
--- a/src/rc/openrc-shutdown.c
+++ b/src/rc/openrc-shutdown.c
@@ -111,8 +111,8 @@ static void create_nologin(int mins)
t += 60 * mins;
if ((fp = fopen(nologin_file, "w")) != NULL) {
- fprintf(fp, "\rThe system is going down on %s\r\n", ctime(&t));
- fclose(fp);
+ fprintf(fp, "\rThe system is going down on %s\r\n", ctime(&t));
+ fclose(fp);
}
}
@@ -122,7 +122,7 @@ static void create_nologin(int mins)
static void send_cmd(const char *cmd)
{
FILE *fifo;
- size_t ignored;
+ size_t ignored;
if (do_dryrun) {
einfo("Would send %s to init", cmd);