On 09/01/2012 04:54 AM, Angus Salkeld wrote: > On 31/08/12 17:41 -0700, Steven Dake wrote: >> On 08/31/2012 01:47 AM, Jan Friesse wrote: >>> --- >>> common_lib/error_conversion.c | 2 ++ >>> 1 files changed, 2 insertions(+), 0 deletions(-) >>> >>> diff --git a/common_lib/error_conversion.c >>> b/common_lib/error_conversion.c >>> index 4ebfd6a..5e1fa48 100644 >>> --- a/common_lib/error_conversion.c >>> +++ b/common_lib/error_conversion.c >>> @@ -98,9 +98,11 @@ cs_error_t qb_to_cs_error (int result) >>> case ENOTSUP: >>> err = CS_ERR_NOT_SUPPORTED; >>> break; >>> +#ifdef EBADMSG >>> case EBADMSG: >>> err = CS_ERR_MESSAGE_ERROR; >>> break; >>> +#endif >>> case EMSGSIZE: >>> case E2BIG: >>> err = CS_ERR_TOO_BIG; >>> >> >> I don't understand the purpose of this patch? > > netbsd does not define EBADMSG. > Thanks - makes sense now ;) Reviewed-by: Steven Dake <sdake@xxxxxxxxxx> >> _______________________________________________ >> discuss mailing list >> discuss@xxxxxxxxxxxx >> http://lists.corosync.org/mailman/listinfo/discuss > _______________________________________________ > discuss mailing list > discuss@xxxxxxxxxxxx > http://lists.corosync.org/mailman/listinfo/discuss _______________________________________________ discuss mailing list discuss@xxxxxxxxxxxx http://lists.corosync.org/mailman/listinfo/discuss