| 152 | } |
| 153 | |
| 154 | void only_one_bootable( list_part_t *list_part, const list_part_t *part_boot) |
| 155 | { |
| 156 | list_part_t *element; |
| 157 | if(part_boot->part->status==STATUS_PRIM_BOOT) |
| 158 | for(element=list_part;element!=NULL;element=element->next) |
| 159 | { |
| 160 | if((element!=part_boot)&&(element->part->status==STATUS_PRIM_BOOT)) |
| 161 | element->part->status=STATUS_PRIM; |
| 162 | } |
| 163 | } |
| 164 | |
| 165 | #ifdef HAVE_NCURSES |
| 166 | static int interface_part_bad_ncurses(disk_t *disk_car, list_part_t *list_part) |
no outgoing calls
no test coverage detected