aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/openzfs/module/unicode
diff options
context:
space:
mode:
authorMatt Macy <mmacy@FreeBSD.org>2020-10-17 01:06:04 +0000
committerMatt Macy <mmacy@FreeBSD.org>2020-10-17 01:06:04 +0000
commit180f822596ecc49d3074dcc9dfea9628aae1d48d (patch)
treed9d18edc1bc35a2f11fd39f178451964c74b08f7 /sys/contrib/openzfs/module/unicode
parente7e2d659af5dca29378325d360be41903445933a (diff)
parent0be360124f8f108f73365e31448e7550f877f3ac (diff)
downloadsrc-180f822596ecc49d3074dcc9dfea9628aae1d48d.tar.gz
src-180f822596ecc49d3074dcc9dfea9628aae1d48d.zip
Update OpenZFS to 2.0.0-rc3-gfc5966
- fix panic due to tqid overflow - Improve libzfs_error_init messages - Expose zfetch_max_idistance tunable - Make dbufstat work on FreeBSD - Fix EIO after resuming receive of new dataset over an existing one
Notes
Notes: svn path=/head/; revision=366780
Diffstat (limited to 'sys/contrib/openzfs/module/unicode')
-rw-r--r--sys/contrib/openzfs/module/unicode/u8_textprep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/contrib/openzfs/module/unicode/u8_textprep.c b/sys/contrib/openzfs/module/unicode/u8_textprep.c
index 65f555d88947..be816d728359 100644
--- a/sys/contrib/openzfs/module/unicode/u8_textprep.c
+++ b/sys/contrib/openzfs/module/unicode/u8_textprep.c
@@ -330,7 +330,7 @@ const uint8_t u8_valid_max_2nd_byte[0x100] = {
* specific to UTF-8 and Unicode.
*/
int
-u8_validate(char *u8str, size_t n, char **list, int flag, int *errnum)
+u8_validate(const char *u8str, size_t n, char **list, int flag, int *errnum)
{
uchar_t *ib;
uchar_t *ibtail;