Subversion Repositories HelenOS

Rev

Rev 4537 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4537 Rev 4668
Line 100... Line 100...
100
    if (rc != EOK)  {
100
    if (rc != EOK)  {
101
        printf("Error: could not init libblock.\n");
101
        printf("Error: could not init libblock.\n");
102
        return CMD_FAILURE;
102
        return CMD_FAILURE;
103
    }
103
    }
104
 
104
 
105
    rc = block_cache_init(handle, BLOCK_SIZE, 2);
105
    rc = block_cache_init(handle, BLOCK_SIZE, 2, CACHE_MODE_WB);
106
    if (rc != EOK) {
106
    if (rc != EOK) {
107
        printf("Error: could not init block cache.\n");
107
        printf("Error: could not init block cache.\n");
108
        return CMD_FAILURE;
108
        return CMD_FAILURE;
109
    }
109
    }
110
 
110