mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00:00
Log file name passed to virConfReadFile
This commit is contained in:
parent
fe772f24a6
commit
7fcf8d9d69
@ -35,6 +35,7 @@
|
||||
#include "conf.h"
|
||||
#include "util.h"
|
||||
#include "c-ctype.h"
|
||||
#include "logging.h"
|
||||
#include "memory.h"
|
||||
#include "virfile.h"
|
||||
|
||||
@ -763,6 +764,8 @@ virConfReadFile(const char *filename, unsigned int flags)
|
||||
int len;
|
||||
virConfPtr conf;
|
||||
|
||||
VIR_DEBUG("filename=%s", NULLSTR(filename));
|
||||
|
||||
if (filename == NULL) {
|
||||
virConfError(NULL, VIR_ERR_INVALID_ARG, __FUNCTION__);
|
||||
return NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user