From 660a6ace2b2c625f5036c73d9891f005eb9f1491 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20Gallou=C3=ABt?= Date: Wed, 17 Jan 2018 15:03:34 +0000 Subject: [PATCH] Fix perror msg MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Adrien Gallouët --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index d1d852a..db0015d 100644 --- a/src/main.c +++ b/src/main.c @@ -372,7 +372,7 @@ main(int argc, char **argv) int ctl_fd = ctl_init("/run/" PACKAGE_NAME, tun_name); if (ctl_fd == -1) { - perror("gt_setup_ctl"); + perror("ctl_init"); return 1; }