kernel/binary_manager: change NAME_MAX to BIN_NAME_MAX for binary name
We define and use BIN_NAME_MAX for a maximum size of binary name.
So it should be changed to BIN_NAME_MAX instead of NAME_MAX.
@@ -189,7 +189,7 @@ typedef struct binary_update_info_list_s binary_update_info_list_t;
typedef void (*binmgr_statecb_t)(char *bin_name, int state, void *cb_data);
struct binmgr_update_bin_s {
- char bin_name[NAME_MAX];
+ char bin_name[BIN_NAME_MAX];
int type;
uint32_t version;
};
