Changeset 8f6c7785 in mainline for uspace/app/hdisk/hdisk.c
- Timestamp:
- 2013-04-26T02:55:32Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 700f89e
- Parents:
- d617050
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/hdisk/hdisk.c
rd617050 r8f6c7785 73 73 return -1; 74 74 } 75 75 76 76 init_table(); 77 77 78 78 mbr_t * mbr = mbr_read_mbr(dev_handle); 79 79 if(mbr == NULL) { … … 98 98 mbr_free_mbr(mbr); 99 99 gpt_t * gpt = gpt_read_gpt_header(dev_handle); 100 printf("here3\n"); 100 101 if(gpt == NULL) { 101 102 printf("Failed to read and parse GPT header. Exiting.\n"); … … 103 104 } 104 105 set_table_gpt(gpt); 106 printf("here4\n"); 105 107 gpt_partitions_t * parts = gpt_read_partitions(gpt); 108 printf("here5\n"); 106 109 if(parts == NULL) { 107 110 printf("Failed to read and parse partitions.\n" \ … … 114 117 115 118 rc = interact(dev_handle); 116 119 117 120 free_table(); 118 121 119 122 return rc; 120 123 } … … 188 191 input = getchar(); 189 192 printf("%c\n", input); 190 193 191 194 192 195 //rc = tinput_read(in, &str);
Note:
See TracChangeset
for help on using the changeset viewer.