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/talk | |
parent | baf42e5599bd1cbdb2a0e5427980549767a002b8 (diff) | |
download | FreeBSD-src-0609531ab6b945c4918206f095bc1f6640408654.zip FreeBSD-src-0609531ab6b945c4918206f095bc1f6640408654.tar.gz |
Fixed printf format errors.
Diffstat (limited to 'usr.bin/talk')
-rw-r--r-- | usr.bin/talk/ctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/talk/ctl.c b/usr.bin/talk/ctl.c index 52a986f..f4cdcd1 100644 --- a/usr.bin/talk/ctl.c +++ b/usr.bin/talk/ctl.c @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)ctl.c 8.1 (Berkeley) 6/6/93"; #endif static const char rcsid[] = - "$Id$"; + "$Id: ctl.c,v 1.4 1998/01/14 07:20:59 charnier Exp $"; #endif /* not lint */ /* @@ -110,7 +110,7 @@ print_addr(addr) int i; printf("addr = %lx, port = %o, family = %o zero = ", - addr.sin_addr.s_addr, addr.sin_port, addr.sin_family); + (u_long)addr.sin_addr.s_addr, addr.sin_port, addr.sin_family); for (i = 0; i<8;i++) printf("%o ", (int)addr.sin_zero[i]); putchar('\n'); |