diff options
author | Jeff Morriss <jeff.morriss@ulticom.com> | 2007-11-26 16:40:17 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss@ulticom.com> | 2007-11-26 16:40:17 +0000 |
commit | 5b8d2e49dc58ba0049d7e00ea8227da336b36080 (patch) | |
tree | edf72f3918212360973c50a7f530441cf55166ca /capture_loop.c | |
parent | e5461f33076882a7ee6ed326c1edfef679c86619 (diff) |
Change (yet another--I really need to find a way to automate finding these things) open() to eth_open() to fix http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1987
svn path=/trunk/; revision=23601
Diffstat (limited to 'capture_loop.c')
-rw-r--r-- | capture_loop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/capture_loop.c b/capture_loop.c index d9d5df2a65..c147ee430f 100644 --- a/capture_loop.c +++ b/capture_loop.c @@ -1184,7 +1184,7 @@ capture_loop_open_output(capture_options *capture_opts, int *save_file_fd, } } else { /* Try to open/create the specified file for use as a capture buffer. */ - *save_file_fd = open(capfile_name, O_RDWR|O_BINARY|O_TRUNC|O_CREAT, + *save_file_fd = eth_open(capfile_name, O_RDWR|O_BINARY|O_TRUNC|O_CREAT, 0600); } } |