aboutsummaryrefslogtreecommitdiffstats
path: root/capture_sync.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2006-08-02 19:58:36 +0000
committerAnders Broman <anders.broman@ericsson.com>2006-08-02 19:58:36 +0000
commit65eea307fa77f6198d8646544953f95da7e7626c (patch)
treef7672e3b007485ae0d4c473bfbf84e4ee6da4a3c /capture_sync.c
parent6bdffa496ee040efcc20f98bde89b516a1732601 (diff)
From Richard van der Hoff:
This patch fixes a couple of comments in capture_sync.c. svn path=/trunk/; revision=18826
Diffstat (limited to 'capture_sync.c')
-rw-r--r--capture_sync.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/capture_sync.c b/capture_sync.c
index ba435e0bf9..c629fba330 100644
--- a/capture_sync.c
+++ b/capture_sync.c
@@ -432,7 +432,7 @@ sync_pipe_start(capture_options *capture_opts) {
/* associate the operating system filehandle to a C run-time file handle */
capture_opts->signal_pipe_write_fd = _open_osfhandle( (long) signal_pipe_write, _O_BINARY);
- /* child own's the read side now, close our handle */
+ /* child owns the read side now, close our handle */
CloseHandle(signal_pipe_read);
#else /* _WIN32 */
if (pipe(sync_pipe) < 0) {
@@ -445,9 +445,8 @@ sync_pipe_start(capture_options *capture_opts) {
if ((capture_opts->fork_child = fork()) == 0) {
/*
- * Child process - run Wireshark with the right arguments to make
- * it just pop up the live capture dialog box and capture with
- * the specified capture parameters, writing to the specified file.
+ * Child process - run dumpcap with the right arguments to make
+ * it just capture with the specified capture parameters
*/
eth_close(1);
dup(sync_pipe[PIPE_WRITE]);