aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap
diff options
context:
space:
mode:
authorMartin Kaiser <wireshark@kaiser.cx>2016-01-17 17:20:34 +0100
committerMartin Kaiser <wireshark@kaiser.cx>2016-01-17 16:24:22 +0000
commit8a0966c434231e515bc8c5e2130b8a7d8121b37f (patch)
treeb2db6fef8a43240893268b2b767d98a41d6347af /wiretap
parentaccaa90d46fdfe3410d0d0a8f4490fb50d062be3 (diff)
[iseries] return WTAP_OPEN_ERROR if file_seek() fails
like it's done for the other file types Change-Id: I8caa360b9c527ea642ee6b5102759ad341ad0030 Reviewed-on: https://code.wireshark.org/review/13359 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
Diffstat (limited to 'wiretap')
-rw-r--r--wiretap/iseries.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/iseries.c b/wiretap/iseries.c
index bb7e9c9d0e..2f5bc656f7 100644
--- a/wiretap/iseries.c
+++ b/wiretap/iseries.c
@@ -245,7 +245,7 @@ iseries_open (wtap * wth, int *err, gchar ** err_info)
if (file_seek (wth->fh, 0, SEEK_SET, err) == -1)
{
- return WTAP_OPEN_NOT_MINE;
+ return WTAP_OPEN_ERROR;
}
return WTAP_OPEN_MINE;
}