1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-11-10 08:24:20 +03:00

Remove conn parameter from util functions

It was used for error reporting only.
This commit is contained in:
Matthias Bolte
2010-02-04 23:41:52 +01:00
parent d5c6183def
commit f972dc2d5c
35 changed files with 166 additions and 194 deletions

View File

@@ -755,7 +755,7 @@ static int qemudInitPaths(struct qemud_server *server,
goto snprintf_error;
} else {
uid_t uid = geteuid();
dir_prefix = virGetUserDirectory(NULL, uid);
dir_prefix = virGetUserDirectory(uid);
if (dir_prefix == NULL) {
/* Do not diagnose here; virGetUserDirectory does that. */
goto snprintf_error;