From 5a3e9ff6081cb83873881df9a7bcfc19f9af5e58 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sat, 16 Dec 2006 21:11:58 +0000 Subject: [PATCH] Output some info about the size of our structures. --- mkrounding.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mkrounding.c b/mkrounding.c index 11b8302c..f81d7877 100644 --- a/mkrounding.c +++ b/mkrounding.c @@ -37,9 +37,11 @@ struct test4 { cnt = 3; } if (cnt) - fprintf(stderr, "Rounding file_extras values in multiples of %d.\n", cnt + 1); + fprintf(stderr, "Rounding file_extras values in multiples of %d", cnt + 1); else - fprintf(stderr, "No rounding needed for file_extras values.\n"); + fprintf(stderr, "No rounding needed for file_extras values"); + fprintf(stderr, " (EXTRA_LEN=%d, FILE_STRUCT_LEN=%d)\n", + (int)EXTRA_LEN, (int)FILE_STRUCT_LEN); printf("#define EXTRA_ROUNDING %d\n", cnt); return 0; } -- 2.34.1