stat: fix wrong check for whether we have a description or not
authorJens Axboe <axboe@fb.com>
Mon, 14 Apr 2014 14:57:35 +0000 (08:57 -0600)
committerJens Axboe <axboe@fb.com>
Mon, 14 Apr 2014 14:57:35 +0000 (08:57 -0600)
commit0a3c52f0875c85b6750239a8b65bfe230d28df35
treee2ac6ede7c2450d1a046c29f18786f49dde5bb94
parenta48fddbcb33991f9b2d1be1fa0a5e5cfb9ea9fae
stat: fix wrong check for whether we have a description or not

It's an array, hence never NULL. Check for size instead.

Signed-off-by: Jens Axboe <axboe@fb.com>
stat.c