Module: xenomai-3 Branch: next Commit: a107b818b3d5124040df7a8299938c390c443502 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=a107b818b3d5124040df7a8299938c390c443502
Author: Josh Bowman <jbow...@facts-inc.com> Date: Wed Feb 22 18:30:23 2017 +0100 copperplate/heapobj-shared: fix warning generated by heapobj_init() --- lib/copperplate/heapobj-pshared.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/copperplate/heapobj-pshared.c b/lib/copperplate/heapobj-pshared.c index e02cfd3..8da4a1f 100644 --- a/lib/copperplate/heapobj-pshared.c +++ b/lib/copperplate/heapobj-pshared.c @@ -976,7 +976,7 @@ int heapobj_init(struct heapobj *hobj, const char *name, size_t size) heap = alloc_block(&main_heap.heap, len); if (heap == NULL) { warning("%s() failed for %Zu bytes, raise --mem-pool-size?", - __func__); + __func__, len); return __bt(-ENOMEM); } _______________________________________________ Xenomai-git mailing list Xenomai-git@xenomai.org https://xenomai.org/mailman/listinfo/xenomai-git