summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/ftp/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ftp/main.c b/usr.bin/ftp/main.c
index 37fa85b..00ecadf 100644
--- a/usr.bin/ftp/main.c
+++ b/usr.bin/ftp/main.c
@@ -78,7 +78,7 @@ main(argc, argv)
autologin = 1;
while ((ch = getopt(argc, argv, "dgintv")) != EOF) {
- switch (*cp) {
+ switch (ch) {
case 'd':
options |= SO_DEBUG;
debug++;
OpenPOWER on IntegriCloud