mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-25 03:37:45 +03:00
Enable -Wwrite-strings
Also, fix leak from ztest_global_vars_to_zdb_args() Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #13348
This commit is contained in:
@@ -67,7 +67,7 @@ typedef struct zio_crypt_info {
|
||||
size_t ci_keylen;
|
||||
|
||||
/* human-readable name of the encryption algorithm */
|
||||
char *ci_name;
|
||||
const char *ci_name;
|
||||
} zio_crypt_info_t;
|
||||
|
||||
extern const zio_crypt_info_t zio_crypt_table[ZIO_CRYPT_FUNCTIONS];
|
||||
|
||||
Reference in New Issue
Block a user