* grub-core/commands/testspeed.c: New command testspeed.

This commit is contained in:
Bean 2013-05-05 18:16:48 +02:00 committed by Vladimir 'phcoder' Serbinenko
parent 310d42144b
commit fa2923436b
6 changed files with 165 additions and 14 deletions

View file

@ -141,7 +141,8 @@ print_files_long (const char *filename, const struct grub_dirhook_info *info,
if (! ctx->human)
grub_printf ("%-12llu", (unsigned long long) file->size);
else
grub_printf ("%-12s", grub_get_human_size (file->size, 1));
grub_printf ("%-12s", grub_get_human_size (file->size,
GRUB_HUMAN_SIZE_SHORT));
grub_file_close (file);
grub_free (pathname);
}