summaryrefslogtreecommitdiffstats
path: root/lib/libedit
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2015-11-02 22:21:02 +0000
committerbrooks <brooks@FreeBSD.org>2015-11-02 22:21:02 +0000
commitac99afcf9666808d9ff0d10f5f7c9ffca374bc97 (patch)
tree3c8a5c0ccc54b3b762aad9934dc2a5859503a47b /lib/libedit
parent3b409054c4004c51d6636efce684d0acda8d113d (diff)
downloadFreeBSD-src-ac99afcf9666808d9ff0d10f5f7c9ffca374bc97.zip
FreeBSD-src-ac99afcf9666808d9ff0d10f5f7c9ffca374bc97.tar.gz
The ops EL_SIGNAL, EL_EDITMODE, EL_UNBUFFERED, and EL_PREP_TERM all take
an int, not an int*. Sponsored by: DARPA, AFRL Discovered with: CHERI Differential Revision: https://reviews.freebsd.org/D4071
Diffstat (limited to 'lib/libedit')
-rw-r--r--lib/libedit/eln.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libedit/eln.c b/lib/libedit/eln.c
index 013aa3e..7ecdb39 100644
--- a/lib/libedit/eln.c
+++ b/lib/libedit/eln.c
@@ -325,11 +325,11 @@ el_get(EditLine *el, int op, ...)
ret = el_wget(el, op, va_arg(ap, const char **));
break;
- case EL_SIGNAL: /* int * */
+ case EL_SIGNAL: /* int */
case EL_EDITMODE:
case EL_UNBUFFERED:
case EL_PREP_TERM:
- ret = el_wget(el, op, va_arg(ap, int *));
+ ret = el_wget(el, op, va_arg(ap, int));
break;
case EL_GETTC: {
OpenPOWER on IntegriCloud