On Mon, Feb 24, 2020 at 01:34:51PM +0100, Ján Tomko wrote: > The backend name is memory-backend-memfd but we've been checking > for memory-backend-memory. > > Reported by GCC on rawhide: > ../../../src/internal.h:75:22: error: 'strcmp' of a string of length 21 and > an array of size 21 evaluates to nonzero [-Werror=string-compare] > ../../../src/qemu/qemu_command.c:3525:20: note: in expansion of macro 'STREQ' > 3525 | } else if (STREQ(backendType, "memory-backend-memory") && > | ^~~~~ > > Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx> > Fixes: 24b74d187cab48a9dc9f409ea78900154c709579 > --- > src/qemu/qemu_command.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Daniel P. Berrangé <berrange@xxxxxxxxxx> Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|