dd: use unsigned printf specifier for # of blocks
This commit is contained in:
parent
2b03e5ef31
commit
980864de08
@ -38,8 +38,9 @@ struct globals {
|
|||||||
|
|
||||||
static void dd_output_status(int ATTRIBUTE_UNUSED cur_signal)
|
static void dd_output_status(int ATTRIBUTE_UNUSED cur_signal)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "%"OFF_FMT"d+%"OFF_FMT"d records in\n"
|
/* Deliberately using %u, not %d */
|
||||||
"%"OFF_FMT"d+%"OFF_FMT"d records out\n",
|
fprintf(stderr, "%"OFF_FMT"u+%"OFF_FMT"u records in\n"
|
||||||
|
"%"OFF_FMT"u+%"OFF_FMT"u records out\n",
|
||||||
G.in_full, G.in_part,
|
G.in_full, G.in_part,
|
||||||
G.out_full, G.out_part);
|
G.out_full, G.out_part);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user