Ignore:
Timestamp:
Sep 2, 2007, 11:40:41 PM (18 years ago)
Author:
bird
Message:

error code cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kStuff/kLdr/kLdrMod.c

    r3578 r3579  
    7070/** Return / crash validation of a module argument. */
    7171#define KLDRMOD_VALIDATE(pMod) \
    72     KLDRMOD_VALIDATE_EX(pMod, KLDR_ERR_INVALID_PARAMETER)
     72    KLDRMOD_VALIDATE_EX(pMod, KERR_INVALID_PARAMETER)
    7373
    7474/** Return / crash validation of a module argument. */
     
    263263    KLDRMOD_VALIDATE(pMod);
    264264    if (!puValue && !pfKind)
    265         return KLDR_ERR_INVALID_PARAMETER;
     265        return KERR_INVALID_PARAMETER;
    266266    if (puValue)
    267267        *puValue = 0;
     
    300300 *
    301301 * @returns 0 and name in pszName on success.
    302  *          On buffer overruns KLDR_ERR_BUFFER_OVERFLOW will be returned.
     302 *          On buffer overruns KERR_BUFFER_OVERFLOW will be returned.
    303303 *          On other failures and appropriate error code is returned.
    304304 * @param   pMod            The module.
     
    421421    KLDRMOD_VALIDATE(pMod);
    422422    if (!pAddrRsrc && !pcbRsrc)
    423         return KLDR_ERR_INVALID_PARAMETER;
     423        return KERR_INVALID_PARAMETER;
    424424    if (pAddrRsrc)
    425425        *pAddrRsrc = NIL_KLDRADDR;
Note: See TracChangeset for help on using the changeset viewer.