Fix incorrect use of sizeof().
Coverity CID: 1011303 Approved by: re (glebius) Sponsored by: FreeBSD Foundation
This commit is contained in:
parent
05bb4f6fbc
commit
089479fb9e
@ -700,7 +700,7 @@ cctl_port(int fd, int argc, char **argv, char *combinedopt)
|
||||
} else if ((targ_port == -1) && (port_type == CTL_PORT_NONE))
|
||||
port_type = CTL_PORT_ALL;
|
||||
|
||||
bzero(&entry, sizeof(&entry));
|
||||
bzero(&entry, sizeof(entry));
|
||||
|
||||
/*
|
||||
* These are needed for all but list/dump mode.
|
||||
|
Loading…
Reference in New Issue
Block a user