From 83cd7145e3e7c3ac453b6a87214cf5704e3875ce Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Sat, 5 Dec 2015 17:47:47 -0600 Subject: 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. --- src/rc/_usage.c | 6 +++--- 1 file 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); -- cgit v1.2.3