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.
This commit is contained in:
William Hubbs 2015-12-05 17:47:47 -06:00
parent a67e3495d0
commit 83cd7145e3

View File

@ -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);