From 89e4e7fb140a65726a9ce55179535b782e4b2d57 Mon Sep 17 00:00:00 2001 From: okan Date: Tue, 6 Dec 2016 21:09:22 +0000 Subject: Consistent use of menuq_add for ssh menu. --- kbfunc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kbfunc.c') diff --git a/kbfunc.c b/kbfunc.c index 1617b93..3292164 100644 --- a/kbfunc.c +++ b/kbfunc.c @@ -520,7 +520,7 @@ kbfunc_menu_ssh(void *ctx, union arg *arg, enum xev xev) if (p - buf + 1 > sizeof(hostbuf)) continue; (void)strlcpy(hostbuf, buf, p - buf + 1); - menuq_add(&menuq, NULL, hostbuf); + menuq_add(&menuq, NULL, "%s", hostbuf); } free(lbuf); (void)fclose(fp); -- cgit 1.4.1