mirror_zfs/lib/libzfs/os/freebsd
Ryan Moeller 659f4008be
libzfs: Make zfs_cmd_t initialization consistent, use zfs_ioctl
The clang version 8.0.1 shipped in FreeBSD 12.1-RELEASE also oddly
throws a warning that is treated as an error on the initialization of
the zc struct in zpool_nextboot.

The zpool_nextboot code from FreeBSD was not updated to use zfs_ioctl.

Switch ioctl to zfs_ioctl in and use {"\0"} to initialize the struct.
Do a consistency pass for zfs_cmd_t initialization.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: George Wilson <gwilson@delphix.com>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #10539
2020-07-09 17:47:12 -07:00
..
libzfs_compat.c libzfs: Make zfs_cmd_t initialization consistent, use zfs_ioctl 2020-07-09 17:47:12 -07:00
libzfs_fsshare.c Fix typos 2020-06-09 21:24:09 -07:00
libzfs_ioctl_compat.c Add FreeBSD support to OpenZFS 2020-04-14 11:36:28 -07:00
libzfs_zmount.c Add include files for prototypes 2020-06-18 12:21:25 -07:00