diff options
author | Marcus Brinkmann <marcus@gnu.org> | 2001-01-07 17:02:56 +0000 |
---|---|---|
committer | Marcus Brinkmann <marcus@gnu.org> | 2001-01-07 17:02:56 +0000 |
commit | c39b618a82580064c268ac9c88b4fe414741a1ec (patch) | |
tree | daa2e3d67d41ef58638a16b6bc55caa568225f25 /libnetfs/iostubs.c | |
parent | fdca3f5c92c7f5f5928e03c9e879c81f764a0b6a (diff) |
2000-12-21 Marcus Brinkmann <marcus@gnu.org>
* boot.c (main): If malloc or realloc fails, print diagnostic
message and exit.
(queue_read): Change return type from void to kern_return_t.
If malloc fails, return D_NO_MEMORY, otherwise D_SUCCESS (to simplify
code flow, malloc before acquiring the queuelock).
(ds_device_read): New variable err (local to the block in which it is used).
If queue_read fails, pass through error.
(ds_device_read_inband): Likewise.
(S_io_read): Likewise.
Reported by Igor Khavkine <i_khavki@alcor.concordia.ca>.
Diffstat (limited to 'libnetfs/iostubs.c')
0 files changed, 0 insertions, 0 deletions