Skip to content

Commit

Permalink
[vpsAdminOS] fix compile warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
snajpa committed Oct 9, 2024
1 parent 031746c commit 9bdc62b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/libzfs/libzfs_dataset.c
Original file line number Diff line number Diff line change
Expand Up @@ -1023,7 +1023,7 @@ zfs_which_resv_prop(zfs_handle_t *zhp, zfs_prop_t *resv_prop)
}

static int
zfs_ugid_map_validate_str(char *strval)
zfs_ugid_map_validate_str(const char *strval)
{
int pos = 0, i = 0, entries = 0, matches;
int64_t ns_id, host_id, cnt;
Expand Down
1 change: 1 addition & 0 deletions module/zfs/dsl_dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -1279,6 +1279,7 @@ dsl_dir_tempreserve_impl(dsl_dir_t *dd, uint64_t asize, boolean_t netfree,
int retval;
uint64_t ref_rsrv;

(void) retval;
top_of_function:
txg = tx->tx_txg;
retval = EDQUOT;
Expand Down

0 comments on commit 9bdc62b

Please sign in to comment.