Changeset 30440ed in mainline for uspace/app/hdisk/hdisk.c
- Timestamp:
- 2013-04-08T23:15:42Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 256cbfe
- Parents:
- 271e24a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/hdisk/hdisk.c
r271e24a r30440ed 175 175 return ENOMEM; 176 176 } 177 tinput_set_prompt(in, ""); 177 178 178 179 printf("Welcome to hdisk.\nType 'h' for help.\n"); … … 184 185 while (1) { 185 186 186 //printf("# ");187 printf("# "); 187 188 input = getchar(); 188 //printf("%c\n", input);189 printf("%c\n", input); 189 190 190 191 … … 210 211 table.delete_part(in, &table.data); 211 212 break; 213 case 'e': 214 table.extra_funcs(in, dev_handle, &table.data); 215 break; 212 216 case 'h': 213 217 print_help(); … … 259 263 table.print_parts = print_mbr_parts; 260 264 table.write_parts = write_mbr_parts; 265 table.extra_funcs = extra_mbr_funcs; 261 266 break; 262 267 case LYT_GPT: … … 265 270 table.print_parts = print_gpt_parts; 266 271 table.write_parts = write_gpt_parts; 272 table.extra_funcs = extra_gpt_funcs; 267 273 break; 268 274 default:
Note:
See TracChangeset
for help on using the changeset viewer.