aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2018-04-30 17:23:23 +0300
committergramanas <anastasis.gramm2@gmail.com>2018-04-30 17:23:23 +0300
commit501c5370862df01b29d41851b720ff761fe7cdf0 (patch)
treeb804fb1530feb7721cc10a8a1916fd3c921c03c8
parentfdc979dafba2e12d2dc3d46de3b946d6943ed4a3 (diff)
downloadck-501c5370862df01b29d41851b720ff761fe7cdf0.tar.gz
ck-501c5370862df01b29d41851b720ff761fe7cdf0.tar.bz2
ck-501c5370862df01b29d41851b720ff761fe7cdf0.zip
Fix wrong print while symlinking
-rw-r--r--src/engine.c2
1 files changed, 1 insertions, 1 deletions
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.");
}