diff options
Diffstat (limited to 'rawshark.c')
-rw-r--r-- | rawshark.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rawshark.c b/rawshark.c index 27d4d7639d..d1e08b98cf 100644 --- a/rawshark.c +++ b/rawshark.c @@ -247,7 +247,7 @@ static int raw_pipe_open(const char *pipe_name) { #ifndef _WIN32 - struct stat pipe_stat; + ws_statb64 pipe_stat; #else char *pncopy, *pos; DWORD err; @@ -272,7 +272,7 @@ raw_pipe_open(const char *pipe_name) #endif /* _WIN32 */ } else { #ifndef _WIN32 - if (ws_stat(pipe_name, &pipe_stat) < 0) { + if (ws_stat64(pipe_name, &pipe_stat) < 0) { fprintf(stderr, "rawshark: The pipe %s could not be checked: %s\n", pipe_name, strerror(errno)); return -1; |