dma: fix two typos and a word order problem
authorSimon Schubert <corecode@dragonflybsd.org>
Thu, 9 Jul 2009 12:37:15 +0000 (14:37 +0200)
committerSimon Schubert <corecode@dragonflybsd.org>
Thu, 16 Jul 2009 14:13:04 +0000 (16:13 +0200)
Submitted-by: Peter Pentchev <roam@ringlet.net>
libexec/dma/crypto.c

index b1e6f0c..d6bba40 100644 (file)
@@ -155,7 +155,7 @@ smtp_init_crypto(struct qitem *it, int fd, int feature)
        error = SSL_connect(config->ssl);
        if (error < 0) {
                syslog(LOG_ERR, "%s: remote delivery failed:"
-                      " SSL handshake fataly failed: %m", it->queueid);
+                      " SSL handshake failed fatally: %m", it->queueid);
                return (-1);
        }
 
@@ -163,7 +163,7 @@ smtp_init_crypto(struct qitem *it, int fd, int feature)
        cert = SSL_get_peer_certificate(config->ssl);
        if (cert == NULL) {
                syslog(LOG_ERR, "%s: remote delivery deferred:"
-                      " Peer did not provied certificate: %m", it->queueid);
+                      " Peer did not provide certificate: %m", it->queueid);
        }
        X509_free(cert);