Changeset f93b8869 in mainline for uspace/app/hrctl/hrctl.c
- Timestamp:
- 2025-06-28T13:14:00Z (4 weeks ago)
- Children:
- 8ad48d1c
- Parents:
- 2de7c1f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/hrctl/hrctl.c
r2de7c1f rf93b8869 641 641 const char *devname; 642 642 643 printf("volume: \"%s\"(%" PRIun ")\n", info->devname, info->svc_id);643 printf("volume: '%s' (%" PRIun ")\n", info->devname, info->svc_id); 644 644 645 645 printf("| metadata type: %s\n", … … 652 652 if (info->strip_size > 0) { 653 653 if (info->strip_size < 1024) { 654 printf("| strip size: %" PRIu32 " B\n",654 printf("| strip size: %" PRIu32 " B\n", 655 655 info->strip_size); 656 656 } else { 657 printf("| strip size: %" PRIu32 " KiB\n",657 printf("| strip size: %" PRIu32 " KiB\n", 658 658 info->strip_size / 1024); 659 659 } … … 663 663 printf("|no. of hotspares: %zu\n", info->hotspare_no); 664 664 printf("|number of blocks: %" PRIu64 "\n", info->data_blkno); 665 printf("| block size: %zu B\n", info->bsize);665 printf("| block size: %zu B\n", info->bsize); 666 666 667 667 capa_spec_t capa; … … 763 763 return EXIT_FAILURE; 764 764 } 765 printf("volume \"%s\"(%" PRIun ") %s\n", devname,765 printf("volume '%s' (%" PRIun ") %s\n", devname, 766 766 svc_id, hr_get_vol_state_str(state)); 767 767
Note:
See TracChangeset
for help on using the changeset viewer.