diff options
author | okan <okan> | 2016-12-06 21:09:22 +0000 |
---|---|---|
committer | okan <okan> | 2016-12-06 21:09:22 +0000 |
commit | 89e4e7fb140a65726a9ce55179535b782e4b2d57 (patch) | |
tree | 8507807186e0252a3bba88d958aef4de9f616366 | |
parent | 2ae4797297a240f80c61324dfc7862f2c00af964 (diff) | |
download | cwm-89e4e7fb140a65726a9ce55179535b782e4b2d57.tar.gz cwm-89e4e7fb140a65726a9ce55179535b782e4b2d57.tar.xz cwm-89e4e7fb140a65726a9ce55179535b782e4b2d57.zip |
Consistent use of menuq_add for ssh menu.
-rw-r--r-- | kbfunc.c | 2 |
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); |