Explorar o código

Show missing symbol errors in stderr on startup

Bryan Drewery %!s(int64=12) %!d(string=hai) anos
pai
achega
4371c8b4b4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/dl.h

+ 1 - 1
src/dl.h

@@ -23,7 +23,7 @@
   my_symbols << #x; \
   dlsym_error = dlerror(); \
   if (dlsym_error) { \
-    sdprintf("%s", dlsym_error); \
+    fprintf(stderr, "%s", dlsym_error); \
     return(1); \
   } \
 } while (0)