summaryrefslogtreecommitdiff
path: root/opentracker.c
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2018-01-29 17:32:22 +0000
committerDirk Engling <erdgeist@erdgeist.org>2018-01-29 17:32:22 +0000
commit48c9c6172b2b493291ee46237148d98f91c23ce9 (patch)
tree6e544c102b78f94f18c3f9c0ffafe9f4a8483ae0 /opentracker.c
parent9c7be324f5a4306dd81eab2f982f87e2c42ffdf1 (diff)
register both ends of self pipe to libowfat in order to use them
Diffstat (limited to 'opentracker.c')
-rw-r--r--opentracker.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/opentracker.c b/opentracker.c
index 5b9915f..90d3324 100644
--- a/opentracker.c
+++ b/opentracker.c
@@ -640,6 +640,8 @@ int main( int argc, char **argv ) {
640 panic( "selfpipe failed: " ); 640 panic( "selfpipe failed: " );
641 if( !io_fd( g_self_pipe[0] ) ) 641 if( !io_fd( g_self_pipe[0] ) )
642 panic( "selfpipe io_fd failed: " ); 642 panic( "selfpipe io_fd failed: " );
643 if( !io_fd( g_self_pipe[1] ) )
644 panic( "selfpipe io_fd failed: " );
643 io_setcookie( g_self_pipe[0], (void*)FLAG_SELFPIPE ); 645 io_setcookie( g_self_pipe[0], (void*)FLAG_SELFPIPE );
644 io_wantread( g_self_pipe[0] ); 646 io_wantread( g_self_pipe[0] );
645 647