Fix confusion between terse and json output
authorJens Axboe <axboe@kernel.dk>
Mon, 8 Oct 2012 19:34:31 +0000 (13:34 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 8 Oct 2012 19:34:31 +0000 (13:34 -0600)
commitaeb32dfccbd052965b0e50714c12265551f61a00
treeb75044d35851e79147a4eee5647175ce2cc86aa9
parentabcab6afc18464b8fee0830914398880995cbffe
Fix confusion between terse and json output

It'd segfault trying to use json when it wasn't supposed to,
since we didn't have the parent set up appropriately.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
diskutil.c