diff options
author | Guy Harris <guy@alum.mit.edu> | 2007-09-29 01:14:16 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2007-09-29 01:14:16 +0000 |
commit | 343fa12c8260ecb9e98956871cff7cf0a6194051 (patch) | |
tree | 9132c94fcdd138a6d414da6c6eec5f0020bfdd04 | |
parent | 72eed77ed7047d3bfcf9886e7d8cc0d387d61378 (diff) |
The fork_child argument to sync_interface_stats_close is unused on UN*X.
svn path=/trunk/; revision=23023
-rw-r--r-- | capture_sync.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/capture_sync.c b/capture_sync.c index b7bbb23a4c..56b9ee2b51 100644 --- a/capture_sync.c +++ b/capture_sync.c @@ -471,7 +471,7 @@ sync_pipe_start(capture_options *capture_opts) { execv(argv[0], (gpointer)argv); g_snprintf(errmsg, sizeof errmsg, "Couldn't run %s in child process: %s", argv[0], strerror(errno)); - sync_pipe_errmsg_to_parent(errmsg, ""); + sync_pipe_errmsg_to_parent(1, errmsg, ""); /* Exit with "_exit()", so that we don't close the connection to the X server (and cause stuff buffered up by our parent but @@ -887,7 +887,11 @@ sync_interface_stats_open(int *read_fd, int *fork_child, gchar **msg) { /* Close down the stats process */ int -sync_interface_stats_close(int *read_fd, int *fork_child, gchar **msg) { +sync_interface_stats_close(int *read_fd, int *fork_child +#ifndef _WIN32 +_U_ +#endif +, gchar **msg) { #ifdef _WIN32 return sync_pipe_close_command(read_fd, fork_child, msg); #else |