summaryrefslogtreecommitdiff
path: root/src/post.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/post.cc')
-rw-r--r--src/post.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/post.cc b/src/post.cc
index 0564eaca..e89c0e7c 100644
--- a/src/post.cc
+++ b/src/post.cc
@@ -292,13 +292,13 @@ namespace {
}
else {
throw_(std::runtime_error,
- _("Expected string or mask for argument 1, but received %1")
- << args[0].label());
+ _f("Expected string or mask for argument 1, but received %1%")
+ % args[0].label());
}
if (! acct)
throw_(std::runtime_error,
- _("Could not find an account matching ") << args[0]);
+ _f("Could not find an account matching '%1%'") % args[0]);
return value_t(static_cast<scope_t *>(acct));
}