summaryrefslogtreecommitdiffstats
path: root/src/dirpart.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/dirpart.c
parent980ff85c3050ff15bf8e473ead40c24dba4b4353 (diff)
"testdisk -lu device" will list the partition with sector unit
Diffstat (limited to 'src/dirpart.c')
-rw-r--r--src/dirpart.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dirpart.c b/src/dirpart.c
index 6ddbe31..05ef717 100644
--- a/src/dirpart.c
+++ b/src/dirpart.c
@@ -114,7 +114,7 @@ int dir_partition(disk_t *disk_car, const partition_t *partition, const int verb
#ifdef HAVE_NCURSES
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);
#endif
log_partition(disk_car,partition);
aff_buffer(BUFFER_ADD,"Support for this filesystem hasn't been enable during compilation.\n");
@@ -131,7 +131,7 @@ int dir_partition(disk_t *disk_car, const partition_t *partition, const int verb
#ifdef HAVE_NCURSES
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);
#endif
log_partition(disk_car,partition);
aff_buffer(BUFFER_ADD,"Can't open filesystem. Filesystem seems damaged.\n");