summaryrefslogtreecommitdiffstats
path: root/src/dir.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2007-12-06 00:29:52 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2007-12-06 00:29:52 +0100
commitf51aa191c2be32b989b4ddb5fee31b8bfd75edf5 (patch)
treebfaf4e746da8d6bd071af09d4d0e5a0ad6a56884 /src/dir.c
parent980ff85c3050ff15bf8e473ead40c24dba4b4353 (diff)
"testdisk -lu device" will list the partition with sector unit
Diffstat (limited to 'src/dir.c')
-rw-r--r--src/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dir.c b/src/dir.c
index c47177b..de88a0c 100644
--- a/src/dir.c
+++ b/src/dir.c
@@ -221,7 +221,7 @@ static long int dir_aff_ncurses(disk_t *disk_car, const partition_t *partition,
WINDOW *window=(WINDOW*)dir_data->display;
aff_copy(window);
wmove(window,4,0);
- aff_part(window,AFF_PART_ORDER,disk_car,partition);
+ aff_part(window,AFF_PART_ORDER|AFF_PART_STATUS,disk_car,partition);
mvwaddstr(window,5,0,"Use ");
if(first_time==0)
{