diff options
author | наб <[email protected]> | 2022-06-30 20:31:09 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2022-06-30 11:31:09 -0700 |
commit | 6fca6195cdf3079a6e11444e42d7ce4aca10c6a1 (patch) | |
tree | 9bc754f48c625e7695ea31f623ffefd417a1f343 /lib/libzfs/os | |
parent | eefe83eaa68f7cb4a49c580dd940d3688e42c849 (diff) |
Re-fix -Wwrite-strings on FreeBSD
Follow up fix for a926aab902ac5c680f4766568d19674b80fb58bb.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes #13348
Closes #13610
Diffstat (limited to 'lib/libzfs/os')
-rw-r--r-- | lib/libzfs/os/freebsd/libzfs_zmount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libzfs/os/freebsd/libzfs_zmount.c b/lib/libzfs/os/freebsd/libzfs_zmount.c index 0d2bd5d51..6a26cae1e 100644 --- a/lib/libzfs/os/freebsd/libzfs_zmount.c +++ b/lib/libzfs/os/freebsd/libzfs_zmount.c @@ -75,7 +75,7 @@ build_iovec(struct iovec **iov, int *iovlen, const char *name, void *val, static int do_mount_(const char *spec, const char *dir, int mflag, - char *dataptr, int datalen, char *optptr, int optlen) + char *dataptr, int datalen, const char *optptr, int optlen) { struct iovec *iov; char *optstr, *p, *tofree; |