summaryrefslogtreecommitdiffstats
path: root/bin/stty/key.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-06-28 18:08:54 +0000
committerbde <bde@FreeBSD.org>1998-06-28 18:08:54 +0000
commit9aff3bce59ef4d8140c0821e020f4f2fe2d99df4 (patch)
tree302d4901b20fd09298aecbb31efa99fc42114ecf /bin/stty/key.c
parent76574381d965b896d8abe5608dd71e1083a715be (diff)
downloadFreeBSD-src-9aff3bce59ef4d8140c0821e020f4f2fe2d99df4.zip
FreeBSD-src-9aff3bce59ef4d8140c0821e020f4f2fe2d99df4.tar.gz
Fixed printf format errors.
Diffstat (limited to 'bin/stty/key.c')
-rw-r--r--bin/stty/key.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/stty/key.c b/bin/stty/key.c
index d5f8605..aeeeb9c 100644
--- a/bin/stty/key.c
+++ b/bin/stty/key.c
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)key.c 8.3 (Berkeley) 4/2/94";
#else
static const char rcsid[] =
- "$Id$";
+ "$Id: key.c,v 1.9 1997/08/24 00:26:12 steve Exp $";
#endif
#endif /* not lint */
@@ -289,7 +289,7 @@ f_speed(ip)
struct info *ip;
{
- (void)printf("%ld\n", cfgetospeed(&ip->t));
+ (void)printf("%lu\n", (u_long)cfgetospeed(&ip->t));
}
void
OpenPOWER on IntegriCloud