diff options
author | 1998-07-24 06:10:42 +0000 | |
---|---|---|
committer | 1998-07-24 06:10:42 +0000 | |
commit | 1aa42d39debf7f9c25224499bea958e407c074f4 (patch) | |
tree | 5445751d5425b1113a1e8d57fd5d4eb3d5cba52b /lib | |
parent | Lots of MOD formats, from claudio@pos.inf.ufpr.br. (diff) | |
download | wireguard-openbsd-1aa42d39debf7f9c25224499bea958e407c074f4.tar.xz wireguard-openbsd-1aa42d39debf7f9c25224499bea958e407c074f4.zip |
typo
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libcurses/read_bsd_terminfo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libcurses/read_bsd_terminfo.c b/lib/libcurses/read_bsd_terminfo.c index 3f754c9a09b..7d92dd5e815 100644 --- a/lib/libcurses/read_bsd_terminfo.c +++ b/lib/libcurses/read_bsd_terminfo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: read_bsd_terminfo.c,v 1.1 1998/07/23 21:19:58 millert Exp $ */ +/* $OpenBSD: read_bsd_terminfo.c,v 1.2 1998/07/24 06:10:42 downsj Exp $ */ /* * Copyright (c) 1996 SigmaSoft, Th. Lockert <tholo@sigmasoft.com> @@ -31,7 +31,7 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: read_bsd_terminfo.c,v 1.1 1998/07/23 21:19:58 millert Exp $"; +static char rcsid[] = "$OpenBSD: read_bsd_terminfo.c,v 1.2 1998/07/24 06:10:42 downsj Exp $"; #endif #include <curses.priv.h> @@ -80,7 +80,7 @@ _nc_read_bsd_terminfo_entry(tn, tp) * exists. */ if ((termpath = getenv("TERMINFO")) != NULL) - strlpy(pathbuf, termpath, sizeof(pathbuf)); + strlcpy(pathbuf, termpath, sizeof(pathbuf)); else { /* $HOME/.terminfo or just .terminfo if no $HOME */ if ((home = getenv("HOME")) != NULL) { |