diff options
Diffstat (limited to 'usr.bin/telnet/main.c')
-rw-r--r-- | usr.bin/telnet/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/telnet/main.c b/usr.bin/telnet/main.c index 0f627b2..d91fa78 100644 --- a/usr.bin/telnet/main.c +++ b/usr.bin/telnet/main.c @@ -251,8 +251,8 @@ main(argc, argv) break; case 't': #if defined(TN3270) && defined(unix) + (void)strlcpy(tline, optarg, sizeof(tline)); transcom = tline; - (void)strcpy(transcom, optarg); #else fprintf(stderr, "%s: Warning: -t ignored, no TN3270 support.\n", |