summaryrefslogtreecommitdiffstats
path: root/src/chgtype.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/chgtype.c
parent980ff85c3050ff15bf8e473ead40c24dba4b4353 (diff)
"testdisk -lu device" will list the partition with sector unit
Diffstat (limited to 'src/chgtype.c')
-rw-r--r--src/chgtype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chgtype.c b/src/chgtype.c
index d4036a8..f4d25e5 100644
--- a/src/chgtype.c
+++ b/src/chgtype.c
@@ -109,7 +109,7 @@ static void change_part_type_ncurses(const disk_t *disk_car,partition_t *partiti
/* Ask for the new partition type*/
aff_copy(stdscr);
wmove(stdscr,4,0);
- aff_part(stdscr,AFF_PART_ORDER,disk_car,partition);
+ aff_part(stdscr,AFF_PART_ORDER|AFF_PART_STATUS,disk_car,partition);
screen_buffer_display(stdscr,"",menuType);
wmove(stdscr,23,0);
wprintw(stdscr,"New partition type [current %02x] ? ",partition->arch->get_part_type(partition));