aboutsummaryrefslogtreecommitdiffstats
path: root/src/supervision/s6-notify-fd-from-socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/supervision/s6-notify-fd-from-socket.c')
-rw-r--r--src/supervision/s6-notify-fd-from-socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/supervision/s6-notify-fd-from-socket.c b/src/supervision/s6-notify-fd-from-socket.c
index b5a6233..834955d 100644
--- a/src/supervision/s6-notify-fd-from-socket.c
+++ b/src/supervision/s6-notify-fd-from-socket.c
@@ -53,7 +53,7 @@ static void bindit (int sock, char *name)
static inline int run_child (int sock, int fd, unsigned int timeout)
{
char buf[8192] ;
- iopause_fd x = { .fd = fd, .events = IOPAUSE_READ } ;
+ iopause_fd x = { .fd = sock, .events = IOPAUSE_READ } ;
int found = 0 ;
tain deadline = TAIN_INFINITE_RELATIVE ;
tain_now_g() ;