aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-07-27 01:43:11 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-07-27 01:43:11 +0000
commitab16a25511e07c87dbf477048e2846c058984d3f (patch)
treea0f0fe4adb417f4a8fb1093a4358df850b82b7b3
parentbaef8cfd30786dcdd6177d10ca32bc3c6bfa1a1c (diff)
downloadpaludis-ab16a25511e07c87dbf477048e2846c058984d3f.tar.gz
paludis-ab16a25511e07c87dbf477048e2846c058984d3f.tar.xz
compile fix
-rw-r--r--src/paludis/sync.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/paludis/sync.cc b/src/paludis/sync.cc
index 93bd8e4..e511d73 100644
--- a/src/paludis/sync.cc
+++ b/src/paludis/sync.cc
@@ -40,7 +40,7 @@ namespace
int return_code(0);
p::Context context("When performing sync action for '"
- + p::stringify(r->name()) + "': ");
+ + p::stringify(r->name()) + "': ");
p::Environment * const env(p::DefaultEnvironment::get_instance());
std::cout << colour(cl_heading, "Sync " + p::stringify(r->name())) << std::endl;
@@ -60,7 +60,7 @@ namespace
std::cerr << " * " << e.backtrace("\n * ") << e.message() << std::endl;
std::cerr << std::endl;
std::cout << "Sync " << r->name() << " failed" << std::endl;
- env->perform_hook(p::Hook("sync_fail")("TARGET", stringify((*r)->name())));
+ env->perform_hook(p::Hook("sync_fail")("TARGET", stringify(r->name())));
}
return return_code;