Remove magic number

This commit is contained in:
Fabrice de Gans-Riberi 2018-05-03 13:57:51 -07:00
parent 242f0f623c
commit 960149f913

View File

@ -934,7 +934,7 @@ DeathTest::TestRole FuchsiaDeathTest::AssumeRole() {
// Build the pipe for communication with the child.
int read_fd;
status = launchpad_add_pipe(lp, &read_fd, 3);
status = launchpad_add_pipe(lp, &read_fd, kFuchsiaReadPipeFd);
GTEST_DEATH_TEST_CHECK_(status == ZX_OK);
set_read_fd(read_fd);