diff options
Diffstat (limited to 'usr.sbin/ppp/mbuf.c')
-rw-r--r-- | usr.sbin/ppp/mbuf.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ppp/mbuf.c b/usr.sbin/ppp/mbuf.c index 9dbce18..2f5df24 100644 --- a/usr.sbin/ppp/mbuf.c +++ b/usr.sbin/ppp/mbuf.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: mbuf.c,v 1.16 1998/06/16 07:15:11 brian Exp $ + * $Id: mbuf.c,v 1.17 1998/06/16 19:40:20 brian Exp $ * */ #include <sys/types.h> @@ -63,7 +63,8 @@ mbuf_Alloc(int cnt, int type) log_Printf(LogERROR, "Bad mbuf type %d\n", type); bp = (struct mbuf *) malloc(sizeof(struct mbuf)); if (bp == NULL) { - log_Printf(LogALERT, "failed to allocate memory: %u\n", sizeof(struct mbuf)); + log_Printf(LogALERT, "failed to allocate memory: %ld\n", + (long)sizeof(struct mbuf)); AbortProgram(EX_OSERR); } memset(bp, '\0', sizeof(struct mbuf)); |