Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
aac5cab
)
Output some info about the size of our structures.
author
Wayne Davison
<wayned@samba.org>
Sat, 16 Dec 2006 21:11:58 +0000
(21:11 +0000)
committer
Wayne Davison
<wayned@samba.org>
Sat, 16 Dec 2006 21:11:58 +0000
(21:11 +0000)
mkrounding.c
patch
|
blob
|
blame
|
history
diff --git
a/mkrounding.c
b/mkrounding.c
index
11b8302
..
f81d787
100644
(file)
--- a/
mkrounding.c
+++ b/
mkrounding.c
@@
-37,9
+37,11
@@
struct test4 {
cnt = 3;
}
if (cnt)
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
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;
}
printf("#define EXTRA_ROUNDING %d\n", cnt);
return 0;
}