Changeset c91f2d1b in mainline for uspace/app/bdsh/cmds/modules/bdd/bdd.c
- Timestamp:
- 2009-08-27T18:31:27Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cd688d9
- Parents:
- 02ee6bf5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/bdd/bdd.c
r02ee6bf5 rc91f2d1b 40 40 #include <devmap.h> 41 41 #include <errno.h> 42 #include <assert.h> 42 43 43 44 #define BLOCK_SIZE 512 … … 110 111 111 112 while (size > 0) { 112 block = block_get(handle, boff, 0); 113 rc = block_get(&block, handle, boff, 0); 114 assert(rc == EOK); 113 115 blk = (uint8_t *) block->data; 114 116 … … 139 141 } 140 142 141 block_put(block); 143 rc = block_put(block); 144 assert(rc == EOK); 142 145 143 146 if (size > rows * BPR)
Note:
See TracChangeset
for help on using the changeset viewer.