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/kLdrDyldFind.c

    r3578 r3579  
    620620        return 0;
    621621    /** @todo deal with return codes properly. */
    622     if (rc >= KLDR_ERR_BASE && rc <= KLDR_ERR_END)
     622    if (rc >= KERR_BASE && rc <= KERR_END)
    623623        return rc;
    624624
     
    772772 * Resolve default search method, prefix and suffix.
    773773 *
    774  * @returns 0 on success, KLDR_ERR_INVALID_PARAMETER on failure.
     774 * @returns 0 on success, KERR_INVALID_PARAMETER on failure.
    775775 * @param   penmSearch  The search method. In/Out.
    776776 * @param   ppszPrefix  The prefix. In/Out.
     
    828828        default:
    829829            KLDRDYLDFIND_ASSERT(!"invalid search method");
    830             return KLDR_ERR_INVALID_PARAMETER;
     830            return KERR_INVALID_PARAMETER;
    831831    }
    832832
Note: See TracChangeset for help on using the changeset viewer.