Changes in uspace/app/bdsh/cmds/modules/bdd/bdd.c [1fbe064b:c91f2d1b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/bdd/bdd.c
r1fbe064b 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.