s3:torture: fix a message in LOCAL-MESSAGING-FDPASS2 test
[kamenim/samba.git] / source3 / torture / test_messaging_fd_passing.c
index 5b3099e7639f276f41d153e970d1c3a02ebf61fb..4be0221d2d4dd3ca1087a20cdc70e2f966ae3cbc 100644 (file)
@@ -134,7 +134,7 @@ static bool fdpass2_child(int ready_fd)
        /* Tell the parent we are ready to receive mesages. */
        bytes = write(ready_fd, &c, 1);
        if (bytes != 1) {
-               perror("child: failed to write to error_pipe");
+               perror("child: failed to write to ready_fd");
                goto done;
        }