]> sourceware.org Git - lvm2.git/commit
Update test/api/*.c to use consistent liblvm error returns.
authorDave Wysochanski <dwysocha@redhat.com>
Sun, 26 Jul 2009 20:29:56 +0000 (20:29 +0000)
committerDave Wysochanski <dwysocha@redhat.com>
Sun, 26 Jul 2009 20:29:56 +0000 (20:29 +0000)
commitbd1dcfbe9674f8c8f0be7650754c10e3693c4219
treef26f401949ffbd816d30b4f084eb260dd5333a61
parenta57262a7eeaa9572c0287b64b46c5ef1f156697e
Update test/api/*.c to use consistent liblvm error returns.

For now, liblvm will return -1 (fail) / 0 (success) or
NULL (fail) / non-NULL (success).  Upon failure, lvm_errno and
lvm_errmsg should be used to determine the precise error.

Author: Dave Wysochanski <dwysocha@redhat.com>
test/api/test.c
test/api/vgtest.c
This page took 0.035501 seconds and 5 git commands to generate.