aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap
diff options
context:
space:
mode:
Diffstat (limited to 'wiretap')
-rw-r--r--wiretap/wtap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/wtap.c b/wiretap/wtap.c
index 30c71810e2..861628a60c 100644
--- a/wiretap/wtap.c
+++ b/wiretap/wtap.c
@@ -54,7 +54,7 @@ wtap_file_size(wtap *wth, int *err)
{
struct stat statb;
- if (fstat(wth->fd, &statb) == -1) {
+ if (ws_fstat64(wth->fd, &statb) == -1) {
if (err != NULL)
*err = errno;
return -1;