btrfs-map-logical: segfaults when no output file is given
authorArne Jansen <sensille@gmx.net>
Mon, 14 Mar 2011 11:57:49 +0000 (12:57 +0100)
committerChris Mason <chris.mason@oracle.com>
Tue, 25 Oct 2011 13:18:58 +0000 (09:18 -0400)
commit48d29930ed29bc92ac5ea08cb72553896d2f7da5
tree361aaacd549a7a0932e4086fee05b003006df173
parent925ac325185d56e69343c5775765f7cf94238b31
btrfs-map-logical: segfaults when no output file is given

when no output file is given, info_file stays NULL and the following
fprintf segfaults. Default to stdout.

Signed-off-by: Arne Jansen <sensille@gmx.net>
Signed-off-by: Hugo Mills <hugo@carfax.org.uk>
btrfs-map-logical.c