diff options
author | Guy Harris <guy@alum.mit.edu> | 2007-09-29 01:15:11 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2007-09-29 01:15:11 +0000 |
commit | 6d065e2eb2792e6b4add180d7ac6190ecff3f925 (patch) | |
tree | 9705008887dc92c151701e1222c26140e4d98246 /dumpcap.c | |
parent | 343fa12c8260ecb9e98956871cff7cf0a6194051 (diff) |
Don't hardcode the notion that the sync pipe is the standard output into
sync_pipe_errmsg_to_parent(); have it take the FD for the sync pipe as
an argument.
svn path=/trunk/; revision=23024
Diffstat (limited to 'dumpcap.c')
-rw-r--r-- | dumpcap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -600,7 +600,7 @@ report_capture_error(const char *error_msg, const char *secondary_error_msg) "Primary Error: %s", error_msg); g_log(LOG_DOMAIN_CAPTURE_CHILD, G_LOG_LEVEL_DEBUG, "Secondary Error: %s", secondary_error_msg); - sync_pipe_errmsg_to_parent(error_msg, secondary_error_msg); + sync_pipe_errmsg_to_parent(1, error_msg, secondary_error_msg); } else { fprintf(stderr, "%s\n%s\n", error_msg, secondary_error_msg); } |