commit | d10983d78c4d468c00898af2a0f452530f52a18c | [log] [tgz] |
---|---|---|
author | Stefan Hajnoczi <stefanha@redhat.com> | Tue Feb 04 14:27:11 2014 +0100 |
committer | Jens Axboe <axboe@fb.com> | Wed Feb 05 10:10:57 2014 -0700 |
tree | 216f69e093c5d9be46ec0a57d9c603f07ff8a111 | |
parent | c4ec0a1d623193b4d344e31b07c6720ecf90323f [diff] |
init: log error on missing --output-format argument strcmp(optarg, "foo") will crash if --output-format was given without an argument. Log an error and exit properly instead of crashing. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Jens Axboe <axboe@fb.com>