Changes in uspace/lib/block/block.c [c1694b6b:7354b5e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/block/block.c
rc1694b6b r7354b5e 49 49 #include <macros.h> 50 50 #include <mem.h> 51 #include < stdlib.h>51 #include <malloc.h> 52 52 #include <stdio.h> 53 53 #include <stacktrace.h> 54 #include <str_error.h>55 54 #include <offset.h> 56 55 #include <inttypes.h> … … 926 925 int rc = bd_read_blocks(devcon->bd, ba, cnt, buf, size); 927 926 if (rc != EOK) { 928 printf("Error % sreading %zu blocks starting at block %" PRIuOFF64929 " from device handle %" PRIun "\n", str_error_name(rc), cnt, ba,927 printf("Error %d reading %zu blocks starting at block %" PRIuOFF64 928 " from device handle %" PRIun "\n", rc, cnt, ba, 930 929 devcon->service_id); 931 930 #ifndef NDEBUG … … 953 952 int rc = bd_write_blocks(devcon->bd, ba, cnt, data, size); 954 953 if (rc != EOK) { 955 printf("Error % swriting %zu blocks starting at block %" PRIuOFF64956 " to device handle %" PRIun "\n", str_error_name(rc), cnt, ba, devcon->service_id);954 printf("Error %d writing %zu blocks starting at block %" PRIuOFF64 955 " to device handle %" PRIun "\n", rc, cnt, ba, devcon->service_id); 957 956 #ifndef NDEBUG 958 957 stacktrace_print();
Note:
See TracChangeset
for help on using the changeset viewer.