Use the right fd for flush call

bug 8498784
Change-Id: I03d3a588b01825b868d4b0229c60b7bb3b24a5f6
1 file changed