Re-fix -Wwrite-strings on FreeBSD

Follow up fix for a926aab902.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #13348
Closes #13610
This commit is contained in:
наб
2022-06-30 20:31:09 +02:00
committed by GitHub
parent eefe83eaa6
commit 6fca6195cd
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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;