Changes in / [056fa40:e86a849a] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/cmds/modules/bdd/bdd.c

    r056fa40 re86a849a  
    112112        while (size > 0) {
    113113                rc = block_get(&block, handle, boff, 0);
    114                 if (rc != EOK) {
    115                         printf("Error: could not get block %u, device %u.\n",
    116                             boff, handle);
    117                         return CMD_FAILURE;
    118                 }
     114                assert(rc == EOK);
    119115                blk = (uint8_t *) block->data;
    120116
     
    146142
    147143                rc = block_put(block);
    148                 if (rc != EOK) {
    149                         printf("Error: could not put block %p.\n",
    150                             block);
    151                         return CMD_FAILURE;
    152                 }
     144                assert(rc == EOK);
    153145
    154146                if (size > rows * BPR)
Note: See TracChangeset for help on using the changeset viewer.