summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1998-08-18 02:10:05 +0000
committerjb <jb@FreeBSD.org>1998-08-18 02:10:05 +0000
commit7300b9a59ccdfc6e3f55a4eb03f9b938808b4fc9 (patch)
tree9084a1aa2988e8e070df13671c0b96f2e93ab4ee
parented2af19ea46e3fc780b29a99c69fbb5398395dfc (diff)
downloadFreeBSD-src-7300b9a59ccdfc6e3f55a4eb03f9b938808b4fc9.zip
FreeBSD-src-7300b9a59ccdfc6e3f55a4eb03f9b938808b4fc9.tar.gz
Bruce says that %p is intended to format void pointers only. So use a void *
cast. There are pointers and then there are _pointers_. One day I'll figure out which are which. 8-)
-rw-r--r--usr.sbin/inetd/inetd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/inetd/inetd.c b/usr.sbin/inetd/inetd.c
index 72c8c0d..5d55861 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.38 1998/07/24 08:28:33 ache Exp $";
+ "$Id: inetd.c,v 1.39 1998/08/17 06:16:59 jb Exp $";
#endif /* not lint */
/*
@@ -1747,7 +1747,7 @@ print_service(action, sep)
#ifdef LOGIN_CAP
sep->se_class,
#endif
- sep->se_bi, sep->se_server);
+ (void *) sep->se_bi, sep->se_server);
}
/*
OpenPOWER on IntegriCloud