diff options
author | Roy Marples <roy@marples.name> | 2008-01-11 15:51:40 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-01-11 15:51:40 +0000 |
commit | abde759d5bf6028135667779297d30491f1f4688 (patch) | |
tree | 079a40a45ce9199933cc3c0367d671804289018f /src/rc/rc-status.c | |
parent | fec312d4482e17328394f3e87b4ad28b1f062b7f (diff) |
Re-indent to a standard tw of 8.
Diffstat (limited to 'src/rc/rc-status.c')
-rw-r--r-- | src/rc/rc-status.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/rc/rc-status.c b/src/rc/rc-status.c index 155192fa..f57584ab 100644 --- a/src/rc/rc-status.c +++ b/src/rc/rc-status.c @@ -48,9 +48,9 @@ static const char *types_nua[] = { "ineed", "iuse", "iafter", NULL }; static void print_level (char *level) { printf ("Runlevel: %s%s%s\n", - ecolor (ECOLOR_HILITE), - level, - ecolor (ECOLOR_NORMAL)); + ecolor (ECOLOR_HILITE), + level, + ecolor (ECOLOR_NORMAL)); } static void print_service (char *service) @@ -121,7 +121,7 @@ int rc_status (int argc, char **argv) int depopts = RC_DEP_STRICT | RC_DEP_START | RC_DEP_TRACE; while ((opt = getopt_long (argc, argv, getoptstring, longopts, - (int *) 0)) != -1) + (int *) 0)) != -1) switch (opt) { case 'a': levels = rc_runlevel_list (); @@ -155,7 +155,7 @@ int rc_status (int argc, char **argv) rc_strlist_free (services); exit (EXIT_SUCCESS); - case_RC_COMMON_GETOPT + case_RC_COMMON_GETOPT } while (optind < argc) @@ -178,8 +178,8 @@ int rc_status (int argc, char **argv) services = rc_services_in_runlevel (level); if (deptree) { ordered = rc_deptree_depends (deptree, types_nua, - (const char **) services, - level, depopts); + (const char **) services, + level, depopts); rc_strlist_free (services); services = ordered; ordered = NULL; |