• D
    Fix error handling in virSecurityManagerGetMountOptions · 3f6470f7
    Daniel P. Berrange 提交于
    The impls of virSecurityManagerGetMountOptions had no way to
    return errors, since the code was treating 'NULL' as a success
    value. This is somewhat pointless, since the calling code did
    not want NULL in the first place and has to translate it into
    the empty string "". So change the code so that the impls can
    return "" directly, allowing use of NULL for error reporting
    once again
    Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
    3f6470f7
security_nop.c 8.1 KB