summaryrefslogtreecommitdiff
path: root/lib/callable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/callable.cpp')
-rw-r--r--lib/callable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/callable.cpp b/lib/callable.cpp
index 59ada7f..461eebd 100644
--- a/lib/callable.cpp
+++ b/lib/callable.cpp
@@ -67,5 +67,5 @@ CallableRegistryEntry::~CallableRegistryEntry(void)
void CallableRegistryEntry::arg_check(const PMCList &args, const size_t nargs)
{
if (args.size() != nargs) throw std::runtime_error(str(boost::format(
- "callable expected %u arguments but for %u") % nargs % args.size()));
+ "callable expected %u arguments but got %u") % nargs % args.size()));
}