VirtualBox

Changeset 2901 in kBuild for trunk/src/kmk/kmkbuiltin/solfakes.c


Ignore:
Timestamp:
Sep 9, 2016 3:10:24 PM (8 years ago)
Author:
bird
Message:

asprintf emulation fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/kmkbuiltin/solfakes.c

    r2413 r2901  
    6464#ifdef va_copy
    6565        va_copy(va2, va);
    66         rc = snprintf(psz, cb, fmt, va2);
     66        rc = vsnprintf(psz, cb, fmt, va2);
    6767        va_end(va2);
    6868#else
    6969        va2 = va;
    70         rc = snprintf(psz, cb, fmt, va2);
     70        rc = vsnprintf(psz, cb, fmt, va2);
    7171#endif
    7272        if (rc < 0 || (size_t)rc < cb)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette