summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/hdlc.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/hdlc.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/hdlc.c')
-rw-r--r--usr.sbin/ppp/hdlc.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.sbin/ppp/hdlc.c b/usr.sbin/ppp/hdlc.c
index 74fc55c..474cf98 100644
--- a/usr.sbin/ppp/hdlc.c
+++ b/usr.sbin/ppp/hdlc.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: hdlc.c,v 1.5 1995/07/30 15:18:29 gpalmer Exp $
+ * $Id: hdlc.c,v 1.6 1996/01/10 21:27:45 phk Exp $
*
* TODO:
*/
@@ -27,6 +27,9 @@
#include "lcp.h"
#include "lqr.h"
#include "vars.h"
+#include "pred.h"
+#include "modem.h"
+#include "ccp.h"
struct hdlcstat {
int badfcs;
@@ -264,7 +267,7 @@ ReportProtStatus()
printf(" Protocol in out Protocol in out\n");
do {
statp++;
- printf(" %-9s: %8u, %8u",
+ printf(" %-9s: %8lu, %8lu",
statp->name, statp->in_count, statp->out_count);
if (++cnt == 2) {
printf("\n");
OpenPOWER on IntegriCloud