summaryrefslogtreecommitdiff
path: root/regress/sys
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-08-14 23:01:14 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-08-14 23:01:14 +0000
commit76e653be65d13292ba5e0434f02874c7b3ef1c73 (patch)
tree7687f4e4557774a4af46557d861c5714bdcb89fc /regress/sys
parentce99ea952de5f0a0e7de628437d87266210a158d (diff)
Convert %q to %ll
Diffstat (limited to 'regress/sys')
-rw-r--r--regress/sys/arch/sparc64/emul-popc/reg/reg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/sys/arch/sparc64/emul-popc/reg/reg.c b/regress/sys/arch/sparc64/emul-popc/reg/reg.c
index f252f1cfd99..7cc586bd49c 100644
--- a/regress/sys/arch/sparc64/emul-popc/reg/reg.c
+++ b/regress/sys/arch/sparc64/emul-popc/reg/reg.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: reg.c,v 1.2 2003/07/12 04:22:02 jason Exp $ */
+/* $OpenBSD: reg.c,v 1.3 2016/08/14 23:01:13 guenther Exp $ */
/*
* Copyright (c) 2003 Jason L. Wright (jason@thought.net)
@@ -61,7 +61,7 @@ test_it(int64_t v)
ta = asm_popc(v);
if (tc == ta)
return (0);
- printf("%qd: C(%qd) ASM(%qd)\n", v, tc, ta);
+ printf("%lld: C(%lld) ASM(%lld)\n", v, tc, ta);
return (1);
}
@@ -74,7 +74,7 @@ test_ones(void)
for (i = 0; i < 64; i++) {
v = 1LL << i;
if (c_popc(v) != 1) {
- printf("ONES popc(%qd) != 1\n", v);
+ printf("ONES popc(%lld) != 1\n", v);
r = 1;
}
if (test_it(v))