mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
viralloc.h: Fix typo in VIR_APPEND_ELEMENT_COPY_QUIT
In fact, the suffix should be _QUIET not _QUIT to stress the fact, that no OOM error is reported on error. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
68eb3709a1
commit
9b3c8bd4f8
@ -446,7 +446,7 @@ void virFree(void *ptrptr) ATTRIBUTE_NONNULL(1);
|
||||
virInsertElementsN(&(ptr), sizeof(*(ptr)), -1, &(count), \
|
||||
VIR_TYPEMATCH(ptr, &(newelem)), &(newelem), true, false, \
|
||||
false, 0, NULL, NULL, 0)
|
||||
# define VIR_APPEND_ELEMENT_COPY_QUIT(Eptr, count, newelem) \
|
||||
# define VIR_APPEND_ELEMENT_COPY_QUIET(ptr, count, newelem) \
|
||||
virInsertElementsN(&(ptr), sizeof(*(ptr)), -1, &(count), \
|
||||
VIR_TYPEMATCH(ptr, &(newelem)), &(newelem), false, false, \
|
||||
false, 0, NULL, NULL, 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user