diff options
author | stefanf <stefanf@FreeBSD.org> | 2007-03-11 21:47:40 +0000 |
---|---|---|
committer | stefanf <stefanf@FreeBSD.org> | 2007-03-11 21:47:40 +0000 |
commit | 176735320e11768e9f5b034525cd406666c745a6 (patch) | |
tree | 7c5a511c1579d52e93b7e0c88360011ccae165db /lib/libedit/map.c | |
parent | 50b3f4c302935f38be277cc4f2b41c73be99018b (diff) | |
download | FreeBSD-src-176735320e11768e9f5b034525cd406666c745a6.zip FreeBSD-src-176735320e11768e9f5b034525cd406666c745a6.tar.gz |
Merge the following changes from NetBSD:
history.c 1.32:
# Fix memory leak found by valgrind (Julien Torres)
map.c 1.24:
# fix debugging printf format.
read.c 1.40:
# Fix bug with multiple pending el_pushes. Reported by Julien Torres.
tty.c 1.24:
# Coverity CID 1216: Prevent negative index use.
MFC after: 3 weeks
Diffstat (limited to 'lib/libedit/map.c')
-rw-r--r-- | lib/libedit/map.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libedit/map.c b/lib/libedit/map.c index c4121a6..591118f 100644 --- a/lib/libedit/map.c +++ b/lib/libedit/map.c @@ -29,7 +29,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $NetBSD: map.c,v 1.23 2006/03/06 21:11:56 christos Exp $ + * $NetBSD: map.c,v 1.24 2006/04/09 01:36:51 christos Exp $ */ #if !defined(lint) && !defined(SCCSID) @@ -1381,7 +1381,7 @@ map_bind(EditLine *el, int argc, const char **argv) break; default: - EL_ABORT((el->el_errfile, "Bad XK_ type\n", ntype)); + EL_ABORT((el->el_errfile, "Bad XK_ type %d\n", ntype)); break; } return (0); |