Re: [PATCH 4/9] virStorageFileGetMetadataRecurse: Expect NULL src->path

2020-02-19 Thread Eric Blake
On 2/17/20 11:13 AM, Peter Krempa wrote: The path can be NULL e.g. for NBD disks. Use NULLSTR to prevent use of NULL in %s. Signed-off-by: Peter Krempa --- src/util/virstoragefile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Eric Blake diff --git a/src/util/

[PATCH 4/9] virStorageFileGetMetadataRecurse: Expect NULL src->path

2020-02-17 Thread Peter Krempa
The path can be NULL e.g. for NBD disks. Use NULLSTR to prevent use of NULL in %s. Signed-off-by: Peter Krempa --- src/util/virstoragefile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/virstoragefile.c b/src/util/virstoragefile.c index f8e4102588..cf37744d6f