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-misc.c | |
parent | fec312d4482e17328394f3e87b4ad28b1f062b7f (diff) |
Re-indent to a standard tw of 8.
Diffstat (limited to 'src/rc/rc-misc.c')
-rw-r--r-- | src/rc/rc-misc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rc/rc-misc.c b/src/rc/rc-misc.c index 3cfbe175..0d6be40d 100644 --- a/src/rc/rc-misc.c +++ b/src/rc/rc-misc.c @@ -186,7 +186,7 @@ char **env_filter (void) /* Ensure our PATH is prefixed with the system locations first for a little extra security */ if (strcmp (env_name, "PATH") == 0 && - strncmp (PATH_PREFIX, env_var, pplen) != 0) + strncmp (PATH_PREFIX, env_var, pplen) != 0) { got_path = true; env_len = strlen (env_name) + strlen (env_var) + pplen + 2; @@ -233,7 +233,7 @@ char **env_filter (void) return (env); } - /* Other systems may need this at some point, but for now it's Linux only */ +/* Other systems may need this at some point, but for now it's Linux only */ #ifdef __linux__ static bool file_regex (const char *file, const char *regex) { @@ -338,7 +338,7 @@ char **env_config (void) } else if (file_regex ("/proc/cpuinfo", "UML")) { snprintf (sys, sizeof (sys), "UML"); } else if (file_regex ("/proc/self/status", - "(s_context|VxID|envID):[[:space:]]*[1-9]")) + "(s_context|VxID|envID):[[:space:]]*[1-9]")) { snprintf (sys, sizeof (sys), "VPS"); } @@ -381,7 +381,7 @@ char **env_config (void) errno = 0; if ((! rc_conf_yesno ("rc_color") && errno == 0) || - rc_conf_yesno ("rc_nocolor")) + rc_conf_yesno ("rc_nocolor")) rc_strlist_add (&env, "EINFO_COLOR=no"); free (runlevel); |