From b21dce9d51ce1a1dece09d6e27ca22f93a3f14ad Mon Sep 17 00:00:00 2001 From: Alexander Vdolainen Date: Mon, 22 Feb 2016 03:27:01 +0200 Subject: [PATCH] [core] fixed dumphead macro; --- include/sxmp/sxmp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sxmp/sxmp.h b/include/sxmp/sxmp.h index 49aced3..10974c9 100644 --- a/include/sxmp/sxmp.h +++ b/include/sxmp/sxmp.h @@ -429,7 +429,7 @@ int sxmp_rpclist_filter(usrtc_t *source, usrtc_t **dest, int flag, int *filter); #define blub(txt) fprintf(stderr, "%s:%d in %s > %s\n", __FILE__, __LINE__, __FUNCTION__, txt) -#define dumphead(head) fprintf(stderr, "id: %d, opcode: %d, attr: %d, len = %d\n", head->msgid, head->opcode, head->attr, head->payload_length) +#define dumphead(head) fprintf(stderr, "id: %d, opcode: %d, attr: %d, len = %d, reserve: %d\n", (head)->msgid, (head)->opcode, (head)->attr, (head)->payload_length, (head)->reserve) #endif /* __SXMP_SXMPLV2_H__ */