diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2021-05-19 11:35:56 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2021-05-19 11:35:56 +0000 |
commit | 8e6e1224184eb6cd3dfa05b2ecd9515c59f4f425 (patch) | |
tree | 2a8a87c64bd3b336785447286a8c5fd242fd05af /cl/cl_read.c | |
parent | b4ed613595432ece6802d09bfabad18e09aa26f3 (diff) | |
download | src-8e6e1224184eb6cd3dfa05b2ecd9515c59f4f425.tar.gz src-8e6e1224184eb6cd3dfa05b2ecd9515c59f4f425.zip |
import nvi 2.2.0-3bbdfe4vendor/nvi/2.2.0-3bbdfe4
Diffstat (limited to 'cl/cl_read.c')
-rw-r--r-- | cl/cl_read.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cl/cl_read.c b/cl/cl_read.c index ddf3acc1918c..8dc1d3cbebc9 100644 --- a/cl/cl_read.c +++ b/cl/cl_read.c @@ -317,10 +317,10 @@ cl_resize(SCR *sp, size_t lines, size_t columns) argv[0] = &a; argv[1] = &b; - a.len = SPRINTF(b1, sizeof(b1), L("lines=%lu"), (u_long)lines); + a.len = SPRINTF(b1, SIZE(b1), L("lines=%lu"), (u_long)lines); if (opts_set(sp, argv, NULL)) return (1); - a.len = SPRINTF(b1, sizeof(b1), L("columns=%lu"), (u_long)columns); + a.len = SPRINTF(b1, SIZE(b1), L("columns=%lu"), (u_long)columns); if (opts_set(sp, argv, NULL)) return (1); return (0); |