mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-22 15:22:39 +00:00
2008-06-13 Pavel Roskin <proski@gnu.org>
* commands/ls.c (grub_ls_list_files): Fix format warnings.
This commit is contained in:
1 parent
dfe9ddd4cb
commit
d687651c07
2 files changed
+6
-2
No files matched your search
@@ -1,3 +1,7 @@
|
||||
2008-06-13 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* commands/ls.c (grub_ls_list_files): Fix format warnings.
|
||||
|
||||
2008-06-13 Bean <bean123ch@gmail.com>
|
||||
|
||||
* commands/hexdump.c (grub_cmd_hexdump): Adjust offset for partition.
|
||||
|
||||
+2
-2
@@ -105,7 +105,7 @@ grub_ls_list_files (char *dirname, int longlist, int all, int human)
|
||||
}
|
||||
|
||||
if (! human)
|
||||
grub_printf ("%-12llu", file->size);
|
||||
grub_printf ("%-12llu", (unsigned long long) file->size);
|
||||
else
|
||||
{
|
||||
float fsize = file->size;
|
||||
@@ -126,7 +126,7 @@ grub_ls_list_files (char *dirname, int longlist, int all, int human)
|
||||
grub_printf ("%-12s", buf);
|
||||
}
|
||||
else
|
||||
grub_printf ("%-12llu", file->size);
|
||||
grub_printf ("%-12llu", (unsigned long long) file->size);
|
||||
|
||||
}
|
||||
grub_file_close (file);
|
||||
|
||||
Reference in new issue
Block a user