view src/os/win32/ngx_dlopen.c @ 6509:7640d6c213e1

Removed redundant "u" format specifier. It is implied for "x" and "X".
author Ruslan Ermilov <ru@nginx.com>
date Fri, 08 Apr 2016 15:03:38 +0300
parents 7142b04337d6
children
line wrap: on
line source


/*
 * Copyright (C) Maxim Dounin
 * Copyright (C) Nginx, Inc.
 */


#include <ngx_config.h>
#include <ngx_core.h>


char *
ngx_dlerror(void)
{
    u_char         *p;
    static u_char   errstr[NGX_MAX_ERROR_STR];

    p = ngx_strerror(ngx_errno, errstr, NGX_MAX_ERROR_STR);
    *p = '\0';

    return (char *) errstr;
}