summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/route.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1996-01-11 17:48:59 +0000
committerphk <phk@FreeBSD.org>1996-01-11 17:48:59 +0000
commit205670521861f654e6607b24a0d60c9dea033b3c (patch)
tree97b25e0059b526362e8a00bdfee724ccf226243c /usr.sbin/ppp/route.c
parent7bf532e1cd2982ba101a1fceae9eee6faa99e57c (diff)
downloadFreeBSD-src-205670521861f654e6607b24a0d60c9dea033b3c.zip
FreeBSD-src-205670521861f654e6607b24a0d60c9dea033b3c.tar.gz
Final cleanup for now. -Wall is now silent. A couple of bogons found.
Diffstat (limited to 'usr.sbin/ppp/route.c')
-rw-r--r--usr.sbin/ppp/route.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/route.c b/usr.sbin/ppp/route.c
index 84f3d62..d5d4de9 100644
--- a/usr.sbin/ppp/route.c
+++ b/usr.sbin/ppp/route.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: route.c,v 1.3 1995/05/30 03:50:56 rgrimes Exp $
+ * $Id: route.c,v 1.4 1995/07/08 06:08:52 amurai Exp $
*
*/
#include <sys/types.h>
@@ -234,7 +234,7 @@ ShowRoute()
mask <<= 8;
}
}
- printf("%08x ", mask);
+ printf("%08lx ", mask);
p_flags(rtm->rtm_flags & (RTF_UP|RTF_GATEWAY|RTF_HOST), "%-6.6s ");
printf("(%d)\n", rtm->rtm_index);
}
OpenPOWER on IntegriCloud