From 064879ff0a98ce7378f8c356f6d97350471ef7bb Mon Sep 17 00:00:00 2001 From: Lai Jiangshan Date: Fri, 23 Sep 2016 23:16:12 +0800 Subject: [PATCH] rename hyper_dup_exec_tty() to hyper_install_process_stdio() Signed-off-by: Lai Jiangshan --- src/exec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/exec.c b/src/exec.c index 2388272..c652b7c 100644 --- a/src/exec.c +++ b/src/exec.c @@ -408,7 +408,7 @@ static int hyper_setup_exec_tty(struct hyper_exec *e) return 0; } -static int hyper_dup_exec_tty(struct hyper_exec *e) +static int hyper_install_process_stdio(struct hyper_exec *e) { int ret = -1; @@ -557,7 +557,7 @@ static void hyper_exec_process(struct hyper_exec *exec) goto exit; } - if (hyper_dup_exec_tty(exec) < 0) { + if (hyper_install_process_stdio(exec) < 0) { fprintf(stderr, "dup pts to exec stdio failed\n"); goto exit; }