diff options
author | наб <[email protected]> | 2022-04-19 20:38:30 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2022-06-29 14:08:54 -0700 |
commit | a926aab902ac5c680f4766568d19674b80fb58bb (patch) | |
tree | 2f505528a4dea156b50c5602dbcefe48b9e902d7 /include/sys/dmu_impl.h | |
parent | e7d90362e5d5f873e1272519da96780cf00a0e28 (diff) |
Enable -Wwrite-strings
Also, fix leak from ztest_global_vars_to_zdb_args()
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes #13348
Diffstat (limited to 'include/sys/dmu_impl.h')
-rw-r--r-- | include/sys/dmu_impl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/dmu_impl.h b/include/sys/dmu_impl.h index def4aadba..95ec11ce2 100644 --- a/include/sys/dmu_impl.h +++ b/include/sys/dmu_impl.h @@ -248,7 +248,7 @@ typedef struct dmu_sendstatus { void dmu_object_zapify(objset_t *, uint64_t, dmu_object_type_t, dmu_tx_t *); void dmu_object_free_zapified(objset_t *, uint64_t, dmu_tx_t *); int dmu_buf_hold_noread(objset_t *, uint64_t, uint64_t, - void *, dmu_buf_t **); + const void *, dmu_buf_t **); #ifdef __cplusplus } |