Fix btrfsck args checking
commitd751af515b0ebe94a00b195d8510fc3770dadcef
authorKyle McMartin <kyle@mcmartin.ca>
Tue, 22 Jan 2008 16:32:09 +0000 (22 11:32 -0500)
committerDavid Woodhouse <dwmw2@hera.kernel.org>
Tue, 22 Jan 2008 16:32:09 +0000 (22 11:32 -0500)
tree29097deba53debfd9d500011a173f2f41b4fb647
parentfd4bca3dfea947f7031721be0a6ebf365b313fb8
Fix btrfsck args checking

btrfsck fails to check if it actually received a dev argument though, so if you
don't pass a device, we get a nice segfault.
btrfsck.c