Skip to content
Permalink
Browse files

Add missing parentheses

Coverity CID#1485621
  • Loading branch information
yoe committed Aug 1, 2019
1 parent 6a75cb1 commit d5b2a76775803ea7d6378a8e9caa58d756b30940
Showing with 1 addition and 1 deletion.
  1. +1 −1 nbd-client.c
@@ -469,7 +469,7 @@ void send_opt_exportname(int sock, u64 *rsize64, uint16_t *flags, bool can_opt_g
err("E: server does not support NBD_OPT_GO and dropped connection after sending NBD_OPT_EXPORT_NAME. Try -g.");
}
parse_sizes(b, rsize64, flags);
if(!global_flags & NBD_FLAG_NO_ZEROES) {
if(!(global_flags & NBD_FLAG_NO_ZEROES)) {
char buf[125];
readit(sock, buf, 124);
}

0 comments on commit d5b2a76

Please sign in to comment.
You can’t perform that action at this time.