diff options
author | jb <jb@FreeBSD.org> | 1998-08-17 06:16:59 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1998-08-17 06:16:59 +0000 |
commit | 49f35df526d2d6fc7e1e864c8b620a9368285eca (patch) | |
tree | 72e144dd12ea5f149bc48d12880ae96fa2f8b741 /usr.sbin/inetd | |
parent | e68854cf159f0fd45b963bda29fbece9e8ed116c (diff) | |
download | FreeBSD-src-49f35df526d2d6fc7e1e864c8b620a9368285eca.zip FreeBSD-src-49f35df526d2d6fc7e1e864c8b620a9368285eca.tar.gz |
Remove a cast and print the pointer value with %p instead of %x.
Diffstat (limited to 'usr.sbin/inetd')
-rw-r--r-- | usr.sbin/inetd/inetd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/inetd/inetd.c b/usr.sbin/inetd/inetd.c index 1ebbd30..72c8c0d 100644 --- a/usr.sbin/inetd/inetd.c +++ b/usr.sbin/inetd/inetd.c @@ -42,7 +42,7 @@ static const char copyright[] = static char sccsid[] = "@(#)from: inetd.c 8.4 (Berkeley) 4/13/94"; #endif static const char rcsid[] = - "$Id: inetd.c,v 1.37 1998/07/23 20:05:02 ache Exp $"; + "$Id: inetd.c,v 1.38 1998/07/24 08:28:33 ache Exp $"; #endif /* not lint */ /* @@ -1738,16 +1738,16 @@ print_service(action, sep) { fprintf(stderr, #ifdef LOGIN_CAP - "%s: %s proto=%s accept=%d max=%d user=%s group=%s class=%s builtin=%x server=%s\n", + "%s: %s proto=%s accept=%d max=%d user=%s group=%s class=%s builtin=%p server=%s\n", #else - "%s: %s proto=%s accept=%d max=%d user=%s group=%s builtin=%x server=%s\n", + "%s: %s proto=%s accept=%d max=%d user=%s group=%s builtin=%p server=%s\n", #endif action, sep->se_service, sep->se_proto, sep->se_accept, sep->se_maxchild, sep->se_user, sep->se_group, #ifdef LOGIN_CAP sep->se_class, #endif - (int)sep->se_bi, sep->se_server); + sep->se_bi, sep->se_server); } /* |