Skip to content

Commit

Permalink
Add missing parentheses
Browse files Browse the repository at this point in the history
Coverity CID#1485621
  • Loading branch information
yoe committed Aug 1, 2019
1 parent 6a75cb1 commit d5b2a76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nbd-client.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit d5b2a76

Please sign in to comment.