summaryrefslogtreecommitdiff
path: root/sys/dev/dm/dm_target.c
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2020-07-08 15:07:13 +0000
committerthorpej <thorpej@NetBSD.org>2020-07-08 15:07:13 +0000
commitd7f8da659aab9d50a29812634b8b8ec61669e682 (patch)
tree272421eb0e18801bf7805cee0898a34d34c02d0f /sys/dev/dm/dm_target.c
parent569b7e1f75cf1bcc13af5d4438428cc7690054d7 (diff)
Adapt to proplib API chanages.
Diffstat (limited to 'sys/dev/dm/dm_target.c')
-rw-r--r--sys/dev/dm/dm_target.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/dm/dm_target.c b/sys/dev/dm/dm_target.c
index 11f491b83d5..364b2f09494 100644
--- a/sys/dev/dm/dm_target.c
+++ b/sys/dev/dm/dm_target.c
@@ -1,4 +1,4 @@
-/* $NetBSD: dm_target.c,v 1.40 2020/01/21 16:27:53 tkusumi Exp $ */
+/* $NetBSD: dm_target.c,v 1.41 2020/07/08 15:07:13 thorpej Exp $ */
/*
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dm_target.c,v 1.40 2020/01/21 16:27:53 tkusumi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dm_target.c,v 1.41 2020/07/08 15:07:13 thorpej Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -285,7 +285,7 @@ dm_target_prop_list(void)
target_dict = prop_dictionary_create();
ver = prop_array_create();
- prop_dictionary_set_cstring(target_dict, DM_TARGETS_NAME,
+ prop_dictionary_set_string(target_dict, DM_TARGETS_NAME,
dm_target->name);
for (i = 0; i < 3; i++)