summaryrefslogtreecommitdiffstats
path: root/fortune
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>2001-01-04 17:24:35 +0000
committerlukem <lukem@NetBSD.org>2001-01-04 17:24:35 +0000
commitbf79b6464dd22f0ee42a98e53333afe435c5270c (patch)
tree8bad01f66f648303047a3d9bc54aaa369d80dae9 /fortune
parent38ff34bfdf7d560172c4cc0cffdb59dc4e6b309e (diff)
downloadbsdgames-darwin-bf79b6464dd22f0ee42a98e53333afe435c5270c.tar.gz
bsdgames-darwin-bf79b6464dd22f0ee42a98e53333afe435c5270c.tar.zst
bsdgames-darwin-bf79b6464dd22f0ee42a98e53333afe435c5270c.zip
use more standard %ll_ in favour of %q_
Diffstat (limited to 'fortune')
-rw-r--r--fortune/fortune/fortune.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/fortune/fortune/fortune.c b/fortune/fortune/fortune.c
index fc507599..54ef2018 100644
--- a/fortune/fortune/fortune.c
+++ b/fortune/fortune/fortune.c
@@ -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));
}
/*