1. Jakub Wilk
  2. antignustep

Commits

Jakub Wilk  committed c2cddf5

Set errno to ENOSYS if dlsym() fails.

  • Participants
  • Parent commits 62c0e7e
  • Branches default

Comments (0)

Files changed (1)

File antignustep.c

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