Changeset d5c1051 in mainline for uspace/app/blkdump/blkdump.c
- Timestamp:
- 2017-12-20T22:25:34Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 39b54fe
- Parents:
- 8610c2c
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-20 22:22:29)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-20 22:25:34)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/blkdump/blkdump.c
r8610c2c rd5c1051 161 161 printf("Device %s has %" PRIuOFF64 " blocks, %" PRIuOFF64 " bytes each\n", dev_path, dev_nblocks, (aoff64_t) block_size); 162 162 163 int ret; 163 164 if (toc) 164 r c= print_toc();165 ret = print_toc(); 165 166 else 166 r c= print_blocks(block_offset, block_count, block_size);167 ret = print_blocks(block_offset, block_count, block_size); 167 168 168 169 block_fini(service_id); 169 170 170 return r c;171 return ret; 171 172 } 172 173
Note:
See TracChangeset
for help on using the changeset viewer.