summary refs log tree commit diff
path: root/kbfunc.c
diff options
context:
space:
mode:
authorokan <okan>2016-12-06 21:09:22 +0000
committerokan <okan>2016-12-06 21:09:22 +0000
commit89e4e7fb140a65726a9ce55179535b782e4b2d57 (patch)
tree8507807186e0252a3bba88d958aef4de9f616366 /kbfunc.c
parent2ae4797297a240f80c61324dfc7862f2c00af964 (diff)
downloadcwm-89e4e7fb140a65726a9ce55179535b782e4b2d57.tar.gz
cwm-89e4e7fb140a65726a9ce55179535b782e4b2d57.tar.xz
cwm-89e4e7fb140a65726a9ce55179535b782e4b2d57.zip
Consistent use of menuq_add for ssh menu.
Diffstat (limited to 'kbfunc.c')
-rw-r--r--kbfunc.c2
1 files changed, 1 insertions, 1 deletions
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);