summaryrefslogtreecommitdiff
path: root/src/rc/rc-update.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-01-14 05:05:22 +0000
committerMike Frysinger <vapier@gentoo.org>2008-01-14 05:05:22 +0000
commit6aab712cb4220c5a8471ba581c06676af19fae07 (patch)
tree2f343d11a00563fc5efd4baf81c082f280db4f96 /src/rc/rc-update.c
parentb054a7251b91e2b95290dfd3760f942186c2d864 (diff)
downloadopenrc-6aab712cb4220c5a8471ba581c06676af19fae07.tar.gz
openrc-6aab712cb4220c5a8471ba581c06676af19fae07.tar.bz2
openrc-6aab712cb4220c5a8471ba581c06676af19fae07.tar.xz
strip trailing newlines
Diffstat (limited to 'src/rc/rc-update.c')
-rw-r--r--src/rc/rc-update.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rc/rc-update.c b/src/rc/rc-update.c
index 463c0cf..7181ac1 100644
--- a/src/rc/rc-update.c
+++ b/src/rc/rc-update.c
@@ -3,7 +3,7 @@
Manage init scripts and runlevels
*/
-/*
+/*
* Copyright 2007 Roy Marples
* All rights reserved
@@ -84,7 +84,7 @@ static int delete (const char *runlevel, const char *service)
if (errno == ENOENT)
eerror ("%s: service `%s' is not in the runlevel `%s'",
applet, service, runlevel);
- else
+ else
eerror ("%s: failed to remove service `%s' from runlevel `%s': %s",
applet, service, runlevel, strerror (errno));
@@ -159,7 +159,7 @@ int rc_update (int argc, char **argv)
int opt;
int retval = EXIT_FAILURE;
- applet = basename_c (argv[0]);
+ applet = basename_c (argv[0]);
while ((opt = getopt_long (argc, argv, getoptstring,
longopts, (int *) 0)) != -1)