diff options
Diffstat (limited to 'mbbsd/more.c')
-rw-r--r-- | mbbsd/more.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/more.c b/mbbsd/more.c index 192f1aae..5fe300bf 100644 --- a/mbbsd/more.c +++ b/mbbsd/more.c @@ -268,9 +268,9 @@ more(char *fpath, int promptend) strlcat(msg, buf1, sizeof(msg)); } strlcat(msg, pos1, sizeof(msg)); - outs(Ptt_prints(msg, NO_RELOAD)); + outs(Ptt_prints(msg, sizeof(msg), NO_RELOAD)); } else - outs(Ptt_prints(buf, NO_RELOAD)); + outs(Ptt_prints(buf, sizeof(buf), NO_RELOAD)); } if (word) { outs(ANSI_RESET); |