Fix incorrect use of sizeof().
Coverity CID: 1011303 Approved by: re (glebius) Sponsored by: FreeBSD Foundation
This commit is contained in:
parent
1af403658b
commit
846c5adb77
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=256190
@ -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