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