Changes in uspace/app/bdsh/cmds/modules/bdd/bdd.c [c91f2d1b:1fbe064b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/bdd/bdd.c
rc91f2d1b r1fbe064b 40 40 #include <devmap.h> 41 41 #include <errno.h> 42 #include <assert.h>43 42 44 43 #define BLOCK_SIZE 512 … … 111 110 112 111 while (size > 0) { 113 rc = block_get(&block, handle, boff, 0); 114 assert(rc == EOK); 112 block = block_get(handle, boff, 0); 115 113 blk = (uint8_t *) block->data; 116 114 … … 141 139 } 142 140 143 rc = block_put(block); 144 assert(rc == EOK); 141 block_put(block); 145 142 146 143 if (size > rows * BPR)
Note:
See TracChangeset
for help on using the changeset viewer.