[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>
This commit is contained in:
Martin Kaiser 2016-01-17 17:20:34 +01:00
parent accaa90d46
commit 8a0966c434
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}