summaryrefslogtreecommitdiffstats
path: root/src/fat_adv.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2011-04-21 19:37:26 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2011-04-21 19:37:26 +0200
commit23484938138c2ea5aef3fb773f185862f0256ce8 (patch)
treecc7f42701434b924dc257b2712530bc60aea4556 /src/fat_adv.c
parentf6e46f431db24343684cb9ce3e4feb4fcb71c292 (diff)
Reserve 9 digits instead of 7 to display file size in directory listing
Diffstat (limited to 'src/fat_adv.c')
-rw-r--r--src/fat_adv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fat_adv.c b/src/fat_adv.c
index 465d05d..2e4c3dd 100644
--- a/src/fat_adv.c
+++ b/src/fat_adv.c
@@ -226,9 +226,9 @@ static int ask_root_directory(disk_t *disk_car, const partition_t *partition, co
strncpy(datestr, " ",sizeof(datestr));
}
mode_string(current_file->stat.st_mode,str);
- wprintw(window, "%s %5u %5u ",
+ wprintw(window, "%s %3u %3u ",
str, (unsigned int)current_file->stat.st_uid, (unsigned int)current_file->stat.st_gid);
- wprintw(window, "%7llu", (long long unsigned int)current_file->stat.st_size);
+ wprintw(window, "%9llu", (long long unsigned int)current_file->stat.st_size);
/* FIXME: screen overlaps due to long filename */
wprintw(window, " %s %s\n", datestr, current_file->name);
if(current_file==pos)