* grub-core/commands/testspeed.c: New command testspeed.
This commit is contained in:
parent
310d42144b
commit
fa2923436b
6 changed files with 165 additions and 14 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue