Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/audio/hdaudio/stream.c

    r0e4c5f0 rb7fd2a0  
    3939#include <ddi.h>
    4040#include <errno.h>
     41#include <str_error.h>
    4142#include <macros.h>
    4243#include <stdlib.h>
     
    4849#include "stream.h"
    4950
    50 int hda_stream_buffers_alloc(hda_t *hda, hda_stream_buffers_t **rbufs)
     51errno_t hda_stream_buffers_alloc(hda_t *hda, hda_stream_buffers_t **rbufs)
    5152{
    5253        void *bdl;
     
    5657        size_t i;
    5758//      size_t j, k;
    58         int rc;
     59        errno_t rc;
    5960
    6061        bufs = calloc(1, sizeof(hda_stream_buffers_t));
     
    122123            0, &buffer_phys, &buffer);
    123124        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));
    125126                goto error;
    126127        }
Note: See TracChangeset for help on using the changeset viewer.