aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-verify.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/pkg-verify.cxx')
-rw-r--r--bpkg/pkg-verify.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/bpkg/pkg-verify.cxx b/bpkg/pkg-verify.cxx
index ea072d9..1423d82 100644
--- a/bpkg/pkg-verify.cxx
+++ b/bpkg/pkg-verify.cxx
@@ -78,7 +78,7 @@ namespace bpkg
throw failed ();
}
}
- catch (const ifdstream::failure&)
+ catch (const io_error&)
{
if (pr.wait ())
{
@@ -157,7 +157,7 @@ namespace bpkg
throw failed ();
}
- catch (const ifdstream::failure& e)
+ catch (const io_error& e)
{
if (diag)
error << "unable to read from " << mf << ": " << e.what ();