Skip to content

Commit d5b2a76

Browse files
committed
Add missing parentheses
Coverity CID#1485621
1 parent 6a75cb1 commit d5b2a76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nbd-client.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ void send_opt_exportname(int sock, u64 *rsize64, uint16_t *flags, bool can_opt_g
469469
err("E: server does not support NBD_OPT_GO and dropped connection after sending NBD_OPT_EXPORT_NAME. Try -g.");
470470
}
471471
parse_sizes(b, rsize64, flags);
472-
if(!global_flags & NBD_FLAG_NO_ZEROES) {
472+
if(!(global_flags & NBD_FLAG_NO_ZEROES)) {
473473
char buf[125];
474474
readit(sock, buf, 124);
475475
}

0 commit comments

Comments
 (0)