Changeset fc22069 in mainline for uspace/app


Ignore:
Timestamp:
2015-08-22T05:12:30Z (10 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
78bb04b
Parents:
d9e68d0
Message:

block devices use the same interface, therefore the API of libblock should not expose the implementation details

Location:
uspace/app
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/blkdump/blkdump.c

    rd9e68d0 rfc22069  
    142142        }
    143143
    144         rc = block_init(EXCHANGE_SERIALIZE, service_id, 2048);
     144        rc = block_init(service_id, 2048);
    145145        if (rc != EOK)  {
    146146                printf(NAME ": Error initializing libblock.\n");
  • uspace/app/hdisk/hdisk.c

    rd9e68d0 rfc22069  
    8282        label.device = dev_handle;
    8383       
    84         rc = block_init(EXCHANGE_ATOMIC, dev_handle, 512);
     84        rc = block_init(dev_handle, 512);
    8585        if (rc != EOK) {
    8686                printf("Error during libblock init: %d - %s.\n", rc, str_error(rc));
  • uspace/app/mkexfat/mkexfat.c

    rd9e68d0 rfc22069  
    803803        }
    804804
    805         rc = block_init(EXCHANGE_SERIALIZE, service_id, 2048);
     805        rc = block_init(service_id, 2048);
    806806        if (rc != EOK) {
    807807                printf(NAME ": Error initializing libblock.\n");
  • uspace/app/mkfat/mkfat.c

    rd9e68d0 rfc22069  
    162162        }
    163163
    164         rc = block_init(EXCHANGE_SERIALIZE, service_id, 2048);
     164        rc = block_init(service_id, 2048);
    165165        if (rc != EOK)  {
    166166                printf(NAME ": Error initializing libblock.\n");
  • uspace/app/mkmfs/mkmfs.c

    rd9e68d0 rfc22069  
    209209        }
    210210
    211         rc = block_init(EXCHANGE_SERIALIZE, service_id, 2048);
     211        rc = block_init(service_id, 2048);
    212212        if (rc != EOK)  {
    213213                printf(NAME ": Error initializing libblock.\n");
Note: See TracChangeset for help on using the changeset viewer.