Changes in uspace/drv/audio/hdaudio/stream.c [b7fd2a0:0e4c5f0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/audio/hdaudio/stream.c
rb7fd2a0 r0e4c5f0 39 39 #include <ddi.h> 40 40 #include <errno.h> 41 #include <str_error.h>42 41 #include <macros.h> 43 42 #include <stdlib.h> … … 49 48 #include "stream.h" 50 49 51 errno_t hda_stream_buffers_alloc(hda_t *hda, hda_stream_buffers_t **rbufs)50 int hda_stream_buffers_alloc(hda_t *hda, hda_stream_buffers_t **rbufs) 52 51 { 53 52 void *bdl; … … 57 56 size_t i; 58 57 // size_t j, k; 59 errno_t rc;58 int rc; 60 59 61 60 bufs = calloc(1, sizeof(hda_stream_buffers_t)); … … 123 122 0, &buffer_phys, &buffer); 124 123 if (rc != EOK) { 125 ddf_msg(LVL_NOTE, "dmamem_map_anon -> % s", str_error_name(rc));124 ddf_msg(LVL_NOTE, "dmamem_map_anon -> %d", rc); 126 125 goto error; 127 126 }
Note:
See TracChangeset
for help on using the changeset viewer.