diff options
Diffstat (limited to 'daemon/libvirtd.c')
-rw-r--r-- | daemon/libvirtd.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/daemon/libvirtd.c b/daemon/libvirtd.c index 5ccfcdd154..86accaa3bc 100644 --- a/daemon/libvirtd.c +++ b/daemon/libvirtd.c @@ -727,13 +727,13 @@ daemonSetupAccessManager(struct daemonConfig *config) { virAccessManagerPtr mgr; const char *none[] = { "none", NULL }; - const char **driver = (const char **)config->access_drivers; + const char **drv = (const char **)config->access_drivers; - if (!driver || - !driver[0]) - driver = none; + if (!drv || + !drv[0]) + drv = none; - if (!(mgr = virAccessManagerNewStack(driver))) + if (!(mgr = virAccessManagerNewStack(drv))) return -1; virAccessManagerSetDefault(mgr); |