summaryrefslogtreecommitdiff
path: root/generic/Input.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'generic/Input.cpp')
-rw-r--r--generic/Input.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/Input.cpp b/generic/Input.cpp
index 1cb6e2e..a51ee65 100644
--- a/generic/Input.cpp
+++ b/generic/Input.cpp
@@ -63,13 +63,14 @@ time_t Input::GetModif() {
off_t Input::seek(off_t offset, int whence) throw (GeneralException) {
if ((itell = lseek(GetHandle(), offset, whence)) < 0) {
- throw IOGereral(String(_("Error seeking file ")) + no + _(": ") + strerror(errno));
+ throw IOGeneral(String(_("Error seeking file ")) + n + _(": ") + strerror(errno));
}
#ifdef PARANOID_SEEK
if (itell != lseek(GetHandle(), 0, SEEK_CUR)) {
- throw IOGereral(String(_("Error seeking file ")) + no + _(": the position does not match"));
+ throw IOGeneral(String(_("Error seeking file ")) + n + _(": the position does not match"));
}
#endif
+ return itell;
}
Stdin_t::Stdin_t() { }