Remove extraneous ", NULL" in the assignment of msgstr which was
authormillert <millert@openbsd.org>
Wed, 26 Apr 2017 13:14:28 +0000 (13:14 +0000)
committermillert <millert@openbsd.org>
Wed, 26 Apr 2017 13:14:28 +0000 (13:14 +0000)
leftover from when msg_cat() was removed.  From Anton Lindqvist

usr.bin/vi/common/exf.c

index b78dd36..0b6ae02 100644 (file)
@@ -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;