From 981d2b3308edb0d0a68f7bdce4f2c99110de6940 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Fri, 1 Jan 2016 13:13:28 -0600 Subject: rc: clean up compiler warnings The get_systype(), detect_container(), detect_prefix() and detect_vm() functions need to return "char *" instead of "const char *". --- src/rc/_usage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rc/_usage.c') 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(); -- cgit v1.2.3