artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6fc7f5
)
Remove extraneous ", NULL" in the assignment of msgstr which was
author
millert
<millert@openbsd.org>
Wed, 26 Apr 2017 13:14:28 +0000
(13:14 +0000)
committer
millert
<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
patch
|
blob
|
history
diff --git
a/usr.bin/vi/common/exf.c
b/usr.bin/vi/common/exf.c
index
b78dd36
..
0b6ae02
100644
(file)
--- a/
usr.bin/vi/common/exf.c
+++ b/
usr.bin/vi/common/exf.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: exf.c,v 1.4
5 2017/04/18 01:45:35 deraad
t Exp $ */
+/* $OpenBSD: exf.c,v 1.4
6 2017/04/26 13:14:28 miller
t 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;