aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2015-12-05 17:47:47 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2015-12-05 17:47:47 -0600
commit83cd7145e3e7c3ac453b6a87214cf5704e3875ce (patch)
tree2b899158d0f9eb3e2cb2ac0cfee0d663cb5c9401 /src
parenta67e3495d0b54ac83a00fc04aef50951646814ad (diff)
Rename bootlevel variable in _usage.c
In src/rc/_usage.c, we were using bootlevel as the variable to hold the return value of rc_sys. This changes the variable name to systype because this function returns a system type, not a runlevel.
Diffstat (limited to 'src')
-rw-r--r--src/rc/_usage.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rc/_usage.c b/src/rc/_usage.c
index a95e93f5..2ab0fa6d 100644
--- a/src/rc/_usage.c
+++ b/src/rc/_usage.c
@@ -53,11 +53,11 @@ static void set_quiet_options(void)
_noreturn static void
show_version(void)
{
- const char *bootlevel = NULL;
+ const char *systype = NULL;
printf("%s (OpenRC", applet);
- if ((bootlevel = rc_sys()))
- printf(" [%s]", bootlevel);
+ if ((systype = rc_sys()))
+ printf(" [%s]", systype);
printf(") %s", VERSION);
#ifdef BRANDING
printf(" (%s)", BRANDING);