aboutsummaryrefslogtreecommitdiff
path: root/src/rc/_usage.c
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2016-01-01 13:13:28 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2016-01-01 13:13:28 -0600
commit981d2b3308edb0d0a68f7bdce4f2c99110de6940 (patch)
tree2bc2eb2f2a3fdbe008cf5dd0d8940dcdbfe5f4d0 /src/rc/_usage.c
parent5d3e85bc310e12411135e98a397b35fb920a72a3 (diff)
rc: clean up compiler warnings
The get_systype(), detect_container(), detect_prefix() and detect_vm() functions need to return "char *" instead of "const char *".
Diffstat (limited to 'src/rc/_usage.c')
-rw-r--r--src/rc/_usage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/_usage.c b/src/rc/_usage.c
index e190eb40..b5f664a7 100644
--- a/src/rc/_usage.c
+++ b/src/rc/_usage.c
@@ -40,7 +40,7 @@ static void set_quiet_options(void)
_noreturn static void
show_version(void)
{
- const char *systype = NULL;
+ char *systype = NULL;
printf("%s (OpenRC", applet);
systype = detect_container();