Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut2016-04-08 16:40:15 +0000
committerPeter Eisentraut2016-04-08 16:42:58 +0000
commit339025c68f95d3cb2c42478109cafeaf414c7fe0 (patch)
tree3b8b3d54116858e9bc057df45e21d7bc6523332c /contrib/pageinspect/heapfuncs.c
parent01a07e6c11562127ad5e6f58d3d6128416b8ab65 (diff)
Replace printf format %i by %d
see also ce8d7bb6440710058503d213b2aafcdf56a5b481
Diffstat (limited to 'contrib/pageinspect/heapfuncs.c')
-rw-r--r--contrib/pageinspect/heapfuncs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/pageinspect/heapfuncs.c b/contrib/pageinspect/heapfuncs.c
index 38eb9783a54..b7d75b0e753 100644
--- a/contrib/pageinspect/heapfuncs.c
+++ b/contrib/pageinspect/heapfuncs.c
@@ -436,7 +436,7 @@ tuple_data_split(PG_FUNCTION_ARGS)
if (!t_bits_str)
ereport(ERROR,
(errcode(ERRCODE_DATA_CORRUPTED),
- errmsg("argument of t_bits is null, but it is expected to be null and %i character long",
+ errmsg("argument of t_bits is null, but it is expected to be null and %d character long",
bits_len * 8)));
bits_str_len = strlen(t_bits_str);
@@ -448,7 +448,7 @@ tuple_data_split(PG_FUNCTION_ARGS)
if (bits_len * 8 != bits_str_len)
ereport(ERROR,
(errcode(ERRCODE_DATA_CORRUPTED),
- errmsg("unexpected length of t_bits %u, expected %i",
+ errmsg("unexpected length of t_bits %u, expected %d",
bits_str_len, bits_len * 8)));
/* do the conversion */