]> git.saurik.com Git - apple/libc.git/blobdiff - i386/sys/cerror.s
Libc-391.2.10.tar.gz
[apple/libc.git] / i386 / sys / cerror.s
index 53d164d1322d5477bc19dd7dd48868660c16e2f4..dee3c4a62c13da30425a6ec8fde20d3cc7dcf7c0 100644 (file)
 
        .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