From bca3c1411c410ba839495d9b7d663549bf9b49a6 Mon Sep 17 00:00:00 2001 From: guenther Date: Sun, 14 Aug 2016 23:01:13 +0000 Subject: [PATCH] Convert %q to %ll --- regress/sys/arch/sparc64/emul-popc/reg/reg.c | 6 +++--- 1 file 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)) -- 2.20.1