Sfoglia il codice sorgente

Show missing symbol errors in stderr on startup

Bryan Drewery 12 anni fa
parent
commit
4371c8b4b4
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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)