use more standard %ll_ in favour of %q_
This commit is contained in:
parent
a4040bcbd1
commit
de3e6adaf6
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: fortune.c,v 1.24 2000/10/31 13:27:56 mrg Exp $ */
|
||||
/* $NetBSD: fortune.c,v 1.25 2001/01/04 17:24:35 lukem Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1986, 1993
|
||||
|
@ -46,7 +46,7 @@ __COPYRIGHT("@(#) Copyright (c) 1986, 1993\n\
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)fortune.c 8.1 (Berkeley) 5/31/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: fortune.c,v 1.24 2000/10/31 13:27:56 mrg Exp $");
|
||||
__RCSID("$NetBSD: fortune.c,v 1.25 2001/01/04 17:24:35 lukem Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -1117,7 +1117,8 @@ get_pos(fp)
|
|||
}
|
||||
if ((u_int64_t)++(fp->pos) >= fp->tbl.str_numstr)
|
||||
fp->pos -= fp->tbl.str_numstr;
|
||||
DPRINTF(1, (stderr, "pos for %s is %qd\n", fp->name, fp->pos));
|
||||
DPRINTF(1, (stderr, "pos for %s is %lld\n", fp->name,
|
||||
(long long)fp->pos));
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: library.c,v 1.17 2000/11/03 17:52:56 perseant Exp $ */
|
||||
/* $NetBSD: library.c,v 1.18 2001/01/04 17:29:04 lukem 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.17 2000/11/03 17:52:56 perseant Exp $");
|
||||
__RCSID("$NetBSD: library.c,v 1.18 2001/01/04 17:29:04 lukem Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -670,7 +670,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",
|
||||
syslog(LOG_DEBUG, "mmap_segment\tseg_daddr: %lu\tseg_size: %lu\tseg_offset: %llu",
|
||||
(u_long)seg_daddr, (u_long)ssize, (long long)seg_byte);
|
||||
|
||||
/* malloc the space for the buffer */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: print.c,v 1.8 2000/01/18 08:02:31 perseant Exp $ */
|
||||
/* $NetBSD: print.c,v 1.9 2001/01/04 17:29:04 lukem Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1992, 1993
|
||||
|
@ -38,7 +38,7 @@
|
|||
#if 0
|
||||
static char sccsid[] = "from: @(#)print.c 8.1 (Berkeley) 6/4/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: print.c,v 1.8 2000/01/18 08:02:31 perseant Exp $");
|
||||
__RCSID("$NetBSD: print.c,v 1.9 2001/01/04 17:29:04 lukem Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -230,19 +230,19 @@ dump_super(lfsp)
|
|||
"cleansz ", lfsp->lfs_cleansz,
|
||||
"segtabsz ", lfsp->lfs_segtabsz);
|
||||
|
||||
syslog(LOG_DEBUG, "%s0x%X\t%s%d\t%s0x%qX\t%s%lu\n",
|
||||
syslog(LOG_DEBUG, "%s0x%X\t%s%d\t%s0x%llX\t%s%lu\n",
|
||||
"segmask ", lfsp->lfs_segmask,
|
||||
"segshift ", lfsp->lfs_segshift,
|
||||
"bmask ", (long long)lfsp->lfs_bmask,
|
||||
"bshift ", (u_long)lfsp->lfs_bshift);
|
||||
|
||||
syslog(LOG_DEBUG, "%s0x%qX\t\t%s%lu\t%s0x%qX\t%s%lu\n",
|
||||
syslog(LOG_DEBUG, "%s0x%llX\t\t%s%lu\t%s0x%llX\t%s%lu\n",
|
||||
"ffmask ", (long long)lfsp->lfs_ffmask,
|
||||
"ffshift ", (u_long)lfsp->lfs_ffshift,
|
||||
"fbmask ", (long long)lfsp->lfs_fbmask,
|
||||
"fbshift ", (u_long)lfsp->lfs_fbshift);
|
||||
|
||||
syslog(LOG_DEBUG, "%s%d\t\t%s0x%X\t%s0x%qx\n",
|
||||
syslog(LOG_DEBUG, "%s%d\t\t%s0x%X\t%s0x%llx\n",
|
||||
"fsbtodb ", lfsp->lfs_fsbtodb,
|
||||
"cksum ", lfsp->lfs_cksum,
|
||||
"maxfilesize ", (long long)lfsp->lfs_maxfilesize);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: mail.local.c,v 1.17 2000/10/10 19:54:38 is Exp $ */
|
||||
/* $NetBSD: mail.local.c,v 1.18 2001/01/04 17:29:05 lukem Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993, 1994
|
||||
|
@ -40,7 +40,7 @@ __COPYRIGHT("@(#) Copyright (c) 1990, 1993, 1994\n\
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)mail.local.c 8.22 (Berkeley) 6/21/95";
|
||||
#else
|
||||
__RCSID("$NetBSD: mail.local.c,v 1.17 2000/10/10 19:54:38 is Exp $");
|
||||
__RCSID("$NetBSD: mail.local.c,v 1.18 2001/01/04 17:29:05 lukem Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -222,7 +222,7 @@ deliver(fd, name, lockfile)
|
|||
}
|
||||
|
||||
curoff = lseek(mbfd, 0, SEEK_END);
|
||||
(void)snprintf(biffmsg, sizeof biffmsg, "%s@%qd\n", name,
|
||||
(void)snprintf(biffmsg, sizeof biffmsg, "%s@%lld\n", name,
|
||||
(long long)curoff);
|
||||
if (lseek(fd, 0, SEEK_SET) == (off_t)-1) {
|
||||
err(FATAL, "temporary file: %s", strerror(errno));
|
||||
|
|
Loading…
Reference in New Issue