diff options
author | Brian Behlendorf <[email protected]> | 2010-08-26 10:10:35 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2010-08-31 08:38:43 -0700 |
commit | a6098088eb706f643a726f71f22ea7126fcd822e (patch) | |
tree | bef653513bfdb0237b919e5651974e76c898268b | |
parent | d4ed667343c3dac114642b9f6cb4f7baa3ff7334 (diff) |
Fix minor acl issue
Minor fixes for newly introduced acl support.
Signed-off-by: Brian Behlendorf <[email protected]>
-rw-r--r-- | lib/libzfs/libzfs_dataset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libzfs/libzfs_dataset.c b/lib/libzfs/libzfs_dataset.c index a0146b4e4..603d8f3ee 100644 --- a/lib/libzfs/libzfs_dataset.c +++ b/lib/libzfs/libzfs_dataset.c @@ -3830,7 +3830,7 @@ zfs_smb_acl_mgmt(libzfs_handle_t *hdl, char *dataset, char *path, if (cmd == ZFS_SMB_ACL_RENAME) { if (nvlist_alloc(&nvlist, NV_UNIQUE_NAME, 0) != 0) { (void) no_memory(hdl); - return (NULL); + return (-1); } } |