mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 01:42:58 +08:00
In message queue created return ENOSPC error if size exceeds the configured size of pre-allocatd messages; Use ENOSPC vs ENOMEM per OpenGroup.org. From Pierre-Noel Bouteville
This commit is contained in:
@@ -98,7 +98,7 @@ struct mqueue_msg_s
|
||||
#else
|
||||
uint16_t msglen; /* Message data length */
|
||||
#endif
|
||||
uint8_t mail[MQ_MAX_BYTES]; /* Message data */
|
||||
char mail[MQ_MAX_BYTES]; /* Message data */
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user