diff options
-rw-r--r-- | src/basic/io-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/io-util.c b/src/basic/io-util.c index 08ad42ed95..a6e34cb762 100644 --- a/src/basic/io-util.c +++ b/src/basic/io-util.c @@ -137,7 +137,7 @@ int loop_write(int fd, const void *buf, size_t nbytes, bool do_poll) { assert(fd >= 0); assert(buf); - if (nbytes > (size_t) SSIZE_MAX) + if (_unlikely_(nbytes > (size_t) SSIZE_MAX)) return -EINVAL; do { |