From: millert Date: Wed, 26 Apr 2017 13:14:28 +0000 (+0000) Subject: Remove extraneous ", NULL" in the assignment of msgstr which was X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=7990f5b455934e1e33c045a0fbaa1f33986d652b;p=openbsd Remove extraneous ", NULL" in the assignment of msgstr which was leftover from when msg_cat() was removed. From Anton Lindqvist --- diff --git a/usr.bin/vi/common/exf.c b/usr.bin/vi/common/exf.c index b78dd367847..0b6ae026533 100644 --- a/usr.bin/vi/common/exf.c +++ b/usr.bin/vi/common/exf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exf.c,v 1.45 2017/04/18 01:45:35 deraadt Exp $ */ +/* $OpenBSD: exf.c,v 1.46 2017/04/26 13:14:28 millert Exp $ */ /*- * Copyright (c) 1992, 1993, 1994 @@ -909,7 +909,7 @@ file_write(SCR *sp, MARK *fm, MARK *tm, char *name, int flags) case OLDFILE: msgstr = LF_ISSET(FS_APPEND) ? "%s: appended: %lu lines, %lu characters" : - "%s: %lu lines, %lu characters", NULL; + "%s: %lu lines, %lu characters"; len = snprintf(buf, sizeof(buf), msgstr, p, nlno, nch); if (len >= sizeof(buf)) len = sizeof(buf) - 1;