Skip to content

Commit

Permalink
Core: fix static_assert error (missing message)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas955 committed Mar 31, 2020
1 parent 086e954 commit fbc32bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/configurator/cpipe.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ static int cpipe_fd[2] = {INVALID_FD, INVALID_FD};
static const char *module = "Configuration pipe";

// Size of the request must allow atomic write! (see write() for help)
static_assert(sizeof(struct ipx_cpipe_req) <= PIPE_BUF);
static_assert(sizeof(struct ipx_cpipe_req) <= PIPE_BUF, "non-atomic write!");

int
ipx_cpipe_init()
Expand Down

0 comments on commit fbc32bd

Please sign in to comment.