Merge branch 'gcc-missing-braces' into refs/top-bases/gcc-branch
This commit is contained in:
commit
fb26df15c8
|
@ -2184,7 +2184,7 @@ zfs_prop_get_userquota_common(zfs_handle_t *zhp, const char *propname,
|
||||||
uint64_t *propvalue, zfs_userquota_prop_t *typep)
|
uint64_t *propvalue, zfs_userquota_prop_t *typep)
|
||||||
{
|
{
|
||||||
int err;
|
int err;
|
||||||
zfs_cmd_t zc = { 0 };
|
zfs_cmd_t zc = { "\0", "\0", "\0", 0 };
|
||||||
|
|
||||||
(void) strncpy(zc.zc_name, zhp->zfs_name, sizeof (zc.zc_name));
|
(void) strncpy(zc.zc_name, zhp->zfs_name, sizeof (zc.zc_name));
|
||||||
|
|
||||||
|
@ -3669,7 +3669,7 @@ zvol_create_link(libzfs_handle_t *hdl, const char *dataset)
|
||||||
static int
|
static int
|
||||||
zvol_create_link_common(libzfs_handle_t *hdl, const char *dataset, int ifexists)
|
zvol_create_link_common(libzfs_handle_t *hdl, const char *dataset, int ifexists)
|
||||||
{
|
{
|
||||||
zfs_cmd_t zc = { 0 };
|
zfs_cmd_t zc = { "\0", "\0", "\0", 0 };
|
||||||
di_devlink_handle_t dhdl;
|
di_devlink_handle_t dhdl;
|
||||||
priv_set_t *priv_effective;
|
priv_set_t *priv_effective;
|
||||||
int privileged;
|
int privileged;
|
||||||
|
@ -3893,7 +3893,7 @@ zfs_expand_proplist(zfs_handle_t *zhp, zprop_list_t **plp)
|
||||||
int
|
int
|
||||||
zfs_iscsi_perm_check(libzfs_handle_t *hdl, char *dataset, ucred_t *cred)
|
zfs_iscsi_perm_check(libzfs_handle_t *hdl, char *dataset, ucred_t *cred)
|
||||||
{
|
{
|
||||||
zfs_cmd_t zc = { 0 };
|
zfs_cmd_t zc = { "\0", "\0", "\0", 0 };
|
||||||
nvlist_t *nvp;
|
nvlist_t *nvp;
|
||||||
gid_t gid;
|
gid_t gid;
|
||||||
uid_t uid;
|
uid_t uid;
|
||||||
|
@ -3989,7 +3989,7 @@ static int
|
||||||
zfs_smb_acl_mgmt(libzfs_handle_t *hdl, char *dataset, char *path,
|
zfs_smb_acl_mgmt(libzfs_handle_t *hdl, char *dataset, char *path,
|
||||||
zfs_smb_acl_op_t cmd, char *resource1, char *resource2)
|
zfs_smb_acl_op_t cmd, char *resource1, char *resource2)
|
||||||
{
|
{
|
||||||
zfs_cmd_t zc = { 0 };
|
zfs_cmd_t zc = { "\0", "\0", "\0", 0 };
|
||||||
nvlist_t *nvlist = NULL;
|
nvlist_t *nvlist = NULL;
|
||||||
int error;
|
int error;
|
||||||
|
|
||||||
|
@ -4071,7 +4071,7 @@ int
|
||||||
zfs_userspace(zfs_handle_t *zhp, zfs_userquota_prop_t type,
|
zfs_userspace(zfs_handle_t *zhp, zfs_userquota_prop_t type,
|
||||||
zfs_userspace_cb_t func, void *arg)
|
zfs_userspace_cb_t func, void *arg)
|
||||||
{
|
{
|
||||||
zfs_cmd_t zc = { 0 };
|
zfs_cmd_t zc = { "\0", "\0", "\0", 0 };
|
||||||
int error;
|
int error;
|
||||||
zfs_useracct_t buf[100];
|
zfs_useracct_t buf[100];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue