X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/59e0d9fe772464b93d835d2a2964457702469a43..3d9156a7a519a5e3aa1b92e9d9d4b991f1aed7ff:/i386/sys/cerror.s diff --git a/i386/sys/cerror.s b/i386/sys/cerror.s index f2c82db..dee3c4a 100644 --- a/i386/sys/cerror.s +++ b/i386/sys/cerror.s @@ -3,8 +3,6 @@ * * @APPLE_LICENSE_HEADER_START@ * - * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved. - * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in @@ -29,6 +27,10 @@ .globl _errno +LABEL(cerror_cvt) + cmpl $102, %eax /* EOPNOTSUPP? */ + jnz cerror + movl $45, %eax /* Yes; make ENOTSUP for compatibility */ LABEL(cerror) REG_TO_EXTERN(%eax, _errno) pushl %eax