Commits

Jakub Wilk committed c2cddf5

Set errno to ENOSYS if dlsym() fails.

  • Participants
  • Parent commits 62c0e7e

Comments (0)

Files changed (1)

File antignustep.c

     if (!original_mkdir) {
         original_mkdir = dlsym(RTLD_NEXT, "mkdir");
         if (!original_mkdir) {
-            errno = EINVAL;
+            errno = ENOSYS;
             return -1;
         }
     }