From d6d8079d2b8540831c39b1844029dfdd848d0a3a Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 3 Sep 2014 15:18:49 +0200 Subject: [PATCH] main: use proper variable when warning about unsupported features Reported-by: Sebastian Apel Signed-off-by: Jo-Philipp Wich --- main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.c b/main.c index 44c3226..fba5f80 100644 --- a/main.c +++ b/main.c @@ -246,7 +246,7 @@ int main(int argc, char **argv) case 'K': case 's': fprintf(stderr, "uhttpd: TLS support not compiled, " - "ignoring -%c\n", opt); + "ignoring -%c\n", ch); break; #endif case 'p': @@ -388,7 +388,7 @@ int main(int argc, char **argv) case 'l': case 'L': fprintf(stderr, "uhttpd: Lua support not compiled, " - "ignoring -%c\n", opt); + "ignoring -%c\n", ch); break; #endif #ifdef HAVE_UBUS @@ -413,7 +413,7 @@ int main(int argc, char **argv) case 'U': case 'X': fprintf(stderr, "uhttpd: UBUS support not compiled, " - "ignoring -%c\n", opt); + "ignoring -%c\n", ch); break; #endif default: -- 2.25.1