Changeset c1694b6b in mainline for uspace/lib/block/block.c
- Timestamp:
- 2017-12-08T21:03:35Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f77c1c9
- Parents:
- 9eb1ff5
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-07 18:20:13)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-08 21:03:35)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/block/block.c
r9eb1ff5 rc1694b6b 52 52 #include <stdio.h> 53 53 #include <stacktrace.h> 54 #include <str_error.h> 54 55 #include <offset.h> 55 56 #include <inttypes.h> … … 925 926 int rc = bd_read_blocks(devcon->bd, ba, cnt, buf, size); 926 927 if (rc != EOK) { 927 printf("Error % dreading %zu blocks starting at block %" PRIuOFF64928 " from device handle %" PRIun "\n", rc, cnt, ba,928 printf("Error %s reading %zu blocks starting at block %" PRIuOFF64 929 " from device handle %" PRIun "\n", str_error_name(rc), cnt, ba, 929 930 devcon->service_id); 930 931 #ifndef NDEBUG … … 952 953 int rc = bd_write_blocks(devcon->bd, ba, cnt, data, size); 953 954 if (rc != EOK) { 954 printf("Error % dwriting %zu blocks starting at block %" PRIuOFF64955 " to device handle %" PRIun "\n", rc, cnt, ba, devcon->service_id);955 printf("Error %s writing %zu blocks starting at block %" PRIuOFF64 956 " to device handle %" PRIun "\n", str_error_name(rc), cnt, ba, devcon->service_id); 956 957 #ifndef NDEBUG 957 958 stacktrace_print();
Note:
See TracChangeset
for help on using the changeset viewer.