*mumble* unicos 10.0.0.3 with Cray Standard C Version 6.2.0.0 has a syslog.h
authorRichard Levitte <levitte@openssl.org>
Wed, 2 Aug 2000 23:05:15 +0000 (23:05 +0000)
committerRichard Levitte <levitte@openssl.org>
Wed, 2 Aug 2000 23:05:15 +0000 (23:05 +0000)
where the openlog() is declared like this:

  extern int openlog __((char *_Ident, int _Logopt, int _Facility));

crypto/bio/bss_log.c

index d5f905b62be46ca0bd5f24841017a8d0dee637b5..05361e07009ff62e45e4f465fa033568d30156f3 100644 (file)
@@ -350,7 +350,7 @@ static void xcloselog(BIO* bp)
 
 static void xopenlog(BIO* bp, const char* name, int level)
 {
-       openlog(name, LOG_PID|LOG_CONS, level);
+       openlog((char *)name, LOG_PID|LOG_CONS, level);
 }
 
 static void xsyslog(BIO *bp, int priority, const char *string)