cryptlib.c: fix typo in OPENSSL_showfatal.
authorAndy Polyakov <appro@openssl.org>
Thu, 4 Apr 2013 13:57:43 +0000 (15:57 +0200)
committerAndy Polyakov <appro@openssl.org>
Thu, 4 Apr 2013 13:57:43 +0000 (15:57 +0200)
crypto/cryptlib.c

index 56d82ad..049a7bb 100644 (file)
@@ -310,7 +310,7 @@ void OPENSSL_showfatal (const char *fmta,...)
        DWORD out;
 
        va_start (ap,fmta);
-       len=_vsnprintf((char *)buf,sizeof(buf),fmt,ap);
+       len=_vsnprintf((char *)buf,sizeof(buf),fmta,ap);
        WriteFile(h,buf,len<0?sizeof(buf):(DWORD)len,&out,NULL);
        va_end (ap);
        return;