work around egcs prints format warning on alpha

(XXX bad fix, but egcs doesn't like a "quad_t" here)
This commit is contained in:
drochner 1999-03-14 11:43:25 +00:00
parent 8ae646e9ae
commit 8f59d4063a

View File

@ -1,4 +1,4 @@
/* $NetBSD: library.c,v 1.11 1999/03/10 00:57:16 perseant Exp $ */
/* $NetBSD: library.c,v 1.12 1999/03/14 11:43:25 drochner Exp $ */
/*-
* Copyright (c) 1992, 1993
@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)library.c 8.3 (Berkeley) 5/24/95";
#else
__RCSID("$NetBSD: library.c,v 1.11 1999/03/10 00:57:16 perseant Exp $");
__RCSID("$NetBSD: library.c,v 1.12 1999/03/14 11:43:25 drochner Exp $");
#endif
#endif /* not lint */
@ -665,7 +665,7 @@ mmap_segment (fsp, segment, segbuf, use_mmap)
} else {
if(debug > 1)
syslog(LOG_DEBUG, "mmap_segment\tseg_daddr: %lu\tseg_size: %lu\tseg_offset: %qu",
(u_long)seg_daddr, (u_long)ssize, seg_byte);
(u_long)seg_daddr, (u_long)ssize, (long long)seg_byte);
/* malloc the space for the buffer */
*segbuf = malloc(ssize);