diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2014-09-03 15:18:49 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2014-09-03 15:18:54 +0200 |
commit | d6d8079d2b8540831c39b1844029dfdd848d0a3a (patch) | |
tree | b560cfdddbc0b833081d56d59cc77ba27c6efb73 | |
parent | 528bbddafebf6d48e6d0dc29d1e2c8263ce6deb7 (diff) |
main: use proper variable when warning about unsupported features
Reported-by: Sebastian Apel <sebastian.apel@gmx.de>
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
-rw-r--r-- | main.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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: |