Changeset 4ef117f8 in mainline
- Timestamp:
- 2009-08-22T15:17:40Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a1f48f6, e5792d1
- Parents:
- a99cf073
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/bd/ata_bd/ata_bd.c
ra99cf073 r4ef117f8 152 152 static void disk_print_summary(disk_t *d) 153 153 { 154 uint64_t mbytes; 155 154 156 printf("%s: ", d->model); 155 157 … … 161 163 } 162 164 163 printf(" %llu blocks.\n", d->blocks); 165 printf(" %llu blocks", d->blocks, d->blocks / (2 * 1024)); 166 167 mbytes = d->blocks / (2 * 1024); 168 if (mbytes > 0) 169 printf(" %llu MB.", mbytes); 170 171 printf("\n"); 164 172 } 165 173
Note:
See TracChangeset
for help on using the changeset viewer.