Changeset 4627314 in mainline
- Timestamp:
- 2015-11-18T09:47:19Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d16a96f
- Parents:
- f97f5cc2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/fdisk/fdisk.c
rf97f5cc2 r4627314 181 181 ndevs = 0; 182 182 while (info != NULL) { 183 ++ndevs;184 185 183 rc = fdisk_dev_info_get_svcname(info, &svcname); 186 184 if (rc != EOK) { 187 printf("Error getting device service name.\n"); 188 goto error; 185 fdisk_dev_info_get_svcid(info, &svcid); 186 printf("Error getting device service name " 187 "(service ID %zu).\n", svcid); 188 info = fdisk_dev_next(info); 189 continue; 189 190 } 190 191 191 192 rc = fdisk_dev_info_capacity(info, &cap); 192 193 if (rc != EOK) { 193 printf("Error getting device capacity.\n"); 194 goto error; 194 printf("Error getting device capacity " 195 "(device %s).\n", svcname); 196 info = fdisk_dev_next(info); 197 continue; 195 198 } 196 199 … … 222 225 goto error; 223 226 } 227 228 ++ndevs; 224 229 225 230 free(dtext);
Note:
See TracChangeset
for help on using the changeset viewer.