summaryrefslogtreecommitdiff
path: root/usr.bin/pmdb
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2011-07-08 23:42:28 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2011-07-08 23:42:28 +0000
commit7d87b3985bf49caf06e11b4f8ccf5d0ab9bed99b (patch)
tree46ef5d24f52591ccaba44ceb937ccbafbc6e8fbf /usr.bin/pmdb
parent0201fe758301d6cf00aeed6e24f55bb64bb4c976 (diff)
el_set(EL_BIND) requires a NULL marker as the last argument.
Diffstat (limited to 'usr.bin/pmdb')
-rw-r--r--usr.bin/pmdb/clit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/pmdb/clit.c b/usr.bin/pmdb/clit.c
index bef9bf28d62..d22f6682f42 100644
--- a/usr.bin/pmdb/clit.c
+++ b/usr.bin/pmdb/clit.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clit.c,v 1.6 2007/09/02 15:19:33 deraadt Exp $ */
+/* $OpenBSD: clit.c,v 1.7 2011/07/08 23:42:27 nicm Exp $ */
/*
* Copyright (c) 2002 Artur Grabowski <art@openbsd.org>
* All rights reserved.
@@ -153,7 +153,7 @@ cmdinit(struct clit *cmds, int ncmds)
el_set(env->el, EL_PROMPT, prompt);
el_set(env->el, EL_HIST, history, env->hist);
el_set(env->el, EL_ADDFN, "complt", "complete", complt);
- el_set(env->el, EL_BIND, "\t", "complt");
+ el_set(env->el, EL_BIND, "\t", "complt", NULL);
el_source(env->el, NULL);
/* XXX - EL_SIGNAL ? */