"%%s: s" -> "%s: %s" in log_warn()
authorkrw <krw@openbsd.org>
Tue, 10 Jul 2018 16:42:12 +0000 (16:42 +0000)
committerkrw <krw@openbsd.org>
Tue, 10 Jul 2018 16:42:12 +0000 (16:42 +0000)
usr.sbin/eigrpd/parse.y

index 7a731c3..972a6b2 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: parse.y,v 1.25 2018/07/09 12:05:11 krw Exp $ */
+/*     $OpenBSD: parse.y,v 1.26 2018/07/10 16:42:12 krw Exp $ */
 
 /*
  * Copyright (c) 2015 Renato Westphal <renato@openbsd.org>
@@ -946,7 +946,7 @@ pushfile(const char *name, int secret)
                return (NULL);
        }
        if ((nfile->stream = fopen(nfile->name, "r")) == NULL) {
-               log_warn("%%s: s", __func__, nfile->name);
+               log_warn("%s: %s", __func__, nfile->name);
                free(nfile->name);
                free(nfile);
                return (NULL);