summaryrefslogtreecommitdiffstats
path: root/src/parti386n.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2009-10-25 18:26:16 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2009-10-25 18:26:16 +0100
commit5156d5b462f00da3830dc6314dd74feda37f1257 (patch)
tree85ff8a96aeab5a1cdd6054f6be8a53d12d401788 /src/parti386n.c
parent4a75ec8effe3e4878e7710a1322d8ed86f059c08 (diff)
Code cleanup
Diffstat (limited to 'src/parti386n.c')
-rw-r--r--src/parti386n.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parti386n.c b/src/parti386n.c
index 8e4d5a6..abaf240 100644
--- a/src/parti386n.c
+++ b/src/parti386n.c
@@ -43,7 +43,6 @@ extern const arch_fnct_t arch_i386;
list_part_t *add_partition_i386_ncurses(disk_t *disk_car,list_part_t *list_part, char **current_cmd)
{
- int position=0;
CHS_t start,end;
partition_t *new_partition=partition_new(&arch_i386);
start.cylinder=0;
@@ -53,6 +52,7 @@ list_part_t *add_partition_i386_ncurses(disk_t *disk_car,list_part_t *list_part,
end.head=disk_car->geom.heads_per_cylinder-1;
end.sector=disk_car->geom.sectors_per_head;
{
+ int position=0;
int done = 0;
while (done==0)
{