diff --git a/ChangeLog b/ChangeLog index 7263dcea6..f5d8fd7a3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-05-10 Vladimir Serbinenko + + * grub-core/commands/testspeed.c: Reuse formatting string to decrease + new strings to translate. + 2013-05-10 Vladimir Serbinenko * util/grub-mkrescue.in: Replace `STR' with `STRING' to avoid adding diff --git a/grub-core/commands/testspeed.c b/grub-core/commands/testspeed.c index d45fa7c05..042645f8d 100644 --- a/grub-core/commands/testspeed.c +++ b/grub-core/commands/testspeed.c @@ -80,9 +80,9 @@ grub_cmd_testspeed (grub_extcmd_context_t ctxt, int argc, char **args) grub_printf_ (N_("File size: %s\n"), grub_get_human_size (total_size, GRUB_HUMAN_SIZE_NORMAL)); whole = grub_divmod64 (end - start, 1000, &fraction); - grub_printf_ (N_("Elapsed time: %llu.%03llu s \n"), - (unsigned long long) whole, - (unsigned long long) fraction); + grub_printf_ (N_("Elapsed time: %d.%03d s \n"), + (unsigned) whole, + (unsigned) fraction); if (end != start) {