From d7f8da659aab9d50a29812634b8b8ec61669e682 Mon Sep 17 00:00:00 2001 From: thorpej Date: Wed, 8 Jul 2020 15:07:13 +0000 Subject: Adapt to proplib API chanages. --- sys/dev/dm/dm_dev.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev/dm/dm_dev.c') diff --git a/sys/dev/dm/dm_dev.c b/sys/dev/dm/dm_dev.c index 61a4d98f256..f4a72ddaccc 100644 --- a/sys/dev/dm/dm_dev.c +++ b/sys/dev/dm/dm_dev.c @@ -1,4 +1,4 @@ -/* $NetBSD: dm_dev.c,v 1.17 2019/12/31 10:30:30 tkusumi Exp $ */ +/* $NetBSD: dm_dev.c,v 1.18 2020/07/08 15:07:13 thorpej Exp $ */ /* * Copyright (c) 2008 The NetBSD Foundation, Inc. @@ -29,7 +29,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ #include -__KERNEL_RCSID(0, "$NetBSD: dm_dev.c,v 1.17 2019/12/31 10:30:30 tkusumi Exp $"); +__KERNEL_RCSID(0, "$NetBSD: dm_dev.c,v 1.18 2020/07/08 15:07:13 thorpej Exp $"); #include #include @@ -381,7 +381,7 @@ dm_dev_prop_list(void) TAILQ_FOREACH(dmv, &dm_dev_list, next_devlist) { dev_dict = prop_dictionary_create(); - prop_dictionary_set_cstring(dev_dict, DM_DEV_NAME, dmv->name); + prop_dictionary_set_string(dev_dict, DM_DEV_NAME, dmv->name); prop_dictionary_set_uint32(dev_dict, DM_DEV_DEV, dmv->minor); prop_array_add(dev_array, dev_dict); -- cgit