aboutsummaryrefslogtreecommitdiff
path: root/bpkg/rep-create.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/rep-create.cxx')
-rw-r--r--bpkg/rep-create.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/bpkg/rep-create.cxx b/bpkg/rep-create.cxx
index eb91c2b..1762c31 100644
--- a/bpkg/rep-create.cxx
+++ b/bpkg/rep-create.cxx
@@ -167,7 +167,7 @@ namespace bpkg
}
catch (const system_error& e)
{
- fail << "unable to scan directory " << d << ": " << e.what () << endf;
+ fail << "unable to scan directory " << d << ": " << e << endf;
}
int
@@ -263,7 +263,7 @@ namespace bpkg
}
catch (const io_error& e)
{
- fail << "unable to write to " << p << ": " << e.what ();
+ fail << "unable to write to " << p << ": " << e;
}
if (verb)