diff options
author | bde <bde@FreeBSD.org> | 1998-07-06 21:01:54 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-07-06 21:01:54 +0000 |
commit | 0609531ab6b945c4918206f095bc1f6640408654 (patch) | |
tree | 0e5040099f85d8bf99734db8ff976b2c1e7d1b49 /usr.bin/telnet | |
parent | baf42e5599bd1cbdb2a0e5427980549767a002b8 (diff) | |
download | FreeBSD-src-0609531ab6b945c4918206f095bc1f6640408654.zip FreeBSD-src-0609531ab6b945c4918206f095bc1f6640408654.tar.gz |
Fixed printf format errors.
Diffstat (limited to 'usr.bin/telnet')
-rw-r--r-- | usr.bin/telnet/telnet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/telnet/telnet.c b/usr.bin/telnet/telnet.c index 9569bbd..5057969 100644 --- a/usr.bin/telnet/telnet.c +++ b/usr.bin/telnet/telnet.c @@ -848,7 +848,7 @@ suboption() TerminalSpeeds(&ispeed, &ospeed); - sprintf((char *)temp, "%c%c%c%c%d,%d%c%c", IAC, SB, TELOPT_TSPEED, + sprintf((char *)temp, "%c%c%c%c%ld,%ld%c%c", IAC, SB, TELOPT_TSPEED, TELQUAL_IS, ospeed, ispeed, IAC, SE); len = strlen((char *)temp+4) + 4; /* temp[3] is 0 ... */ |