Rev 3087 | Rev 3103 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3087 | Rev 3091 | ||
---|---|---|---|
Line 270... | Line 270... | ||
270 | *pos += rd; |
270 | *pos += rd; |
271 | left -= rd; |
271 | left -= rd; |
272 | } |
272 | } |
273 | 273 | ||
274 | if (*bufpos == *buflen) { |
274 | if (*bufpos == *buflen) { |
275 | int retval; |
275 | ipcarg_t retval; |
276 | int rc = ipc_call_sync_2_1(phone, RD_READ_BLOCK, *pos / BLOCK_SIZE, BLOCK_SIZE, (sysarg_t *) &retval); |
276 | int rc = ipc_call_sync_2_1(phone, RD_READ_BLOCK, |
- | 277 | *pos / BLOCK_SIZE, BLOCK_SIZE, |
|
- | 278 | &retval); |
|
277 | if ((rc != EOK) || (retval != EOK)) |
279 | if ((rc != EOK) || (retval != EOK)) |
278 | return false; |
280 | return false; |
279 | 281 | ||
280 | *bufpos = 0; |
282 | *bufpos = 0; |
281 | *buflen = BLOCK_SIZE; |
283 | *buflen = BLOCK_SIZE; |