btrfs-progs: don't deref pipefd[-1]
authorZach Brown <zab@redhat.com>
Mon, 7 Oct 2013 21:43:02 +0000 (14:43 -0700)
committerChris Mason <chris.mason@fusionio.com>
Wed, 16 Oct 2013 12:23:13 +0000 (08:23 -0400)
commite2da6395959c454d1e98ff03b259ddc7e96b5861
tree0047a47a8b733de7a6e395b4ad17813e1949d622
parent7dff2d3a1f54fe4f519aa804f1935d02fafa5a3e
btrfs-progs: don't deref pipefd[-1]

commit 4782e8ebdb583dfa3615f7b38dee729d34f62ec1 accidentally replaced
[0] with [-1].  Put it back.  This was found by static analysis.

Signed-off-by: Zach Brown <zab@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
send-test.c