Changeset ca7fa5b in mainline for uspace/lib/device/src/hr.c
- Timestamp:
- 2025-04-02T18:24:11Z (4 months ago)
- Children:
- 800d188
- Parents:
- bbcd06e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/device/src/hr.c
rbbcd06e rca7fa5b 195 195 printf("--- vol %zu ---\n", index); 196 196 197 printf("svc_id: % lu\n", vol_info->svc_id);197 printf("svc_id: %" PRIun "\n", vol_info->svc_id); 198 198 199 199 rc = loc_service_get_name(vol_info->svc_id, &devname); … … 211 211 if (vol_info->level == HR_LVL_0 || vol_info->level == HR_LVL_4) { 212 212 if (vol_info->strip_size / 1024 < 1) 213 printf("strip size in bytes: % u\n",213 printf("strip size in bytes: %" PRIu32 "\n", 214 214 vol_info->strip_size); 215 215 else 216 printf("strip size: % uK\n",216 printf("strip size: %" PRIu32 "K\n", 217 217 vol_info->strip_size / 1024); 218 218 } 219 printf("size in bytes: % luMiB\n",219 printf("size in bytes: %" PRIu64 "MiB\n", 220 220 vol_info->nblocks * vol_info->bsize / 1024 / 1024); 221 printf("size in blocks: % lu\n", vol_info->nblocks);221 printf("size in blocks: %" PRIu64 "\n", vol_info->nblocks); 222 222 printf("block size: %zu\n", vol_info->bsize); 223 223
Note:
See TracChangeset
for help on using the changeset viewer.