Changes in uspace/lib/libblock/libblock.c [16fc3c9:64bc4b6] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libblock/libblock.c
r16fc3c9 r64bc4b6 52 52 #include <macros.h> 53 53 #include <mem.h> 54 #include <sys/typefmt.h>55 #include <stacktrace.h>56 54 57 55 /** Lock protecting the device connection list */ … … 815 813 rc = async_req_3_0(devcon->dev_phone, BD_READ_BLOCKS, LOWER32(ba), 816 814 UPPER32(ba), cnt); 817 if (rc != EOK) {818 printf("Error %d reading %d blocks starting at block %" PRIuBN819 " from device handle %d\n", rc, cnt, ba,820 devcon->dev_handle);821 #ifndef NDEBUG822 stacktrace_print();823 #endif824 }825 815 return rc; 826 816 } … … 842 832 rc = async_req_3_0(devcon->dev_phone, BD_WRITE_BLOCKS, LOWER32(ba), 843 833 UPPER32(ba), cnt); 844 if (rc != EOK) {845 printf("Error %d writing %d blocks starting at block %" PRIuBN846 " to device handle %d\n", rc, cnt, ba, devcon->dev_handle);847 #ifndef NDEBUG848 stacktrace_print();849 #endif850 }851 834 return rc; 852 835 }
Note:
See TracChangeset
for help on using the changeset viewer.