summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorpixel <pixel>2003-09-04 15:33:49 +0000
committerpixel <pixel>2003-09-04 15:33:49 +0000
commit05e5811ee35a95568b5c95225c559f6340871982 (patch)
treef0aac48d953da03fd192a5c2bf970e554ee0b0c1 /lib
parent4e75ad6ab97e4f93afcfda68cf4efed4521c3411 (diff)
Fixed error message
Diffstat (limited to 'lib')
-rw-r--r--lib/Handle.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Handle.cc b/lib/Handle.cc
index c6f7a1a..182657d 100644
--- a/lib/Handle.cc
+++ b/lib/Handle.cc
@@ -332,7 +332,7 @@ void Handle::SetZ(int az) throw (GeneralException) {
printm(M_INFO, String(_("Performing gzdopen on handle ")) + h + _(" with mode \"") + format + "\"\n");
#endif
if (!(zfile = gzdopen(h, format))) {
- throw GeneralException(_("Was not able to gzdopen."));
+ throw GeneralException(String(_("Was not able to gzdopen: ")) + strerror(errno));
}
z = az;
}