Better workaround for VMS getnameinfo() bug
[openssl.git] / crypto / bio / bss_log.c
index f59ec7cce7a17a1bb3ea3b4c7f0494bd057532b2..320ff775f3932d8c4e57d4bc523a6566980a58b3 100644 (file)
@@ -1,4 +1,3 @@
-/* crypto/bio/bss_log.c */
 /* ====================================================================
  * Copyright (c) 1999 The OpenSSL Project.  All rights reserved.
  *
@@ -322,7 +321,7 @@ static void xsyslog(BIO *bp, int priority, const char *string)
         break;
     }
 
-    sprintf(pidbuf, "[%u] ", GetCurrentProcessId());
+    sprintf(pidbuf, "[%lu] ", GetCurrentProcessId());
     lpszStrings[0] = pidbuf;
     lpszStrings[1] = string;