From 501c5370862df01b29d41851b720ff761fe7cdf0 Mon Sep 17 00:00:00 2001 From: gramanas Date: Mon, 30 Apr 2018 17:23:23 +0300 Subject: Fix wrong print while symlinking --- src/engine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/engine.c b/src/engine.c index 3505fd0..b80c7e8 100644 --- a/src/engine.c +++ b/src/engine.c @@ -30,7 +30,7 @@ int copy_config(char *path); void link_config(const AddOpt *opt, const char* newPath) { - printf("Linking %s -> %s\n", opt->confPath, newPath); + printf("Linking %s -> %s\n", newPath, opt->confPath); if (util_symlink_file(newPath, opt->confPath) != 0) { strcpy(engine_err, "Could not link file."); } -- cgit v1.2.3