aboutsummaryrefslogtreecommitdiff
path: root/sys/libkern/iconv_xlat.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2003-02-19 05:47:46 +0000
committerWarner Losh <imp@FreeBSD.org>2003-02-19 05:47:46 +0000
commita163d034fadcfb4a25ca34a2ba5f491c47b6ff69 (patch)
tree9e20e320fe15ae4bf68f8335fcf9d3e71d3b3614 /sys/libkern/iconv_xlat.c
parent8f3e32c2b6b9f392e096f096653596f55f2134ae (diff)
Notes
Diffstat (limited to 'sys/libkern/iconv_xlat.c')
-rw-r--r--sys/libkern/iconv_xlat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/libkern/iconv_xlat.c b/sys/libkern/iconv_xlat.c
index e355c6b42194..6dd2800a535f 100644
--- a/sys/libkern/iconv_xlat.c
+++ b/sys/libkern/iconv_xlat.c
@@ -62,7 +62,7 @@ iconv_xlat_open(struct iconv_converter_class *dcp,
{
struct iconv_xlat *dp;
- dp = (struct iconv_xlat *)kobj_create((struct kobj_class*)dcp, M_ICONV, 0);
+ dp = (struct iconv_xlat *)kobj_create((struct kobj_class*)dcp, M_ICONV, M_WAITOK);
dp->d_table = csp->cp_data;
dp->d_csp = csp;
csp->cp_refcount++;