From 13580ba5b609195c60ef600132c9ae33adaa6660 Mon Sep 17 00:00:00 2001 From: pgoyette Date: Sun, 19 Jun 2011 04:08:48 +0000 Subject: [PATCH] Use correct routine to retrieve string value from prop-dictionary --- sys/dev/sysmon/swsensor.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/sysmon/swsensor.c b/sys/dev/sysmon/swsensor.c index 87661cb77a3d..629acb27c150 100644 --- a/sys/dev/sysmon/swsensor.c +++ b/sys/dev/sysmon/swsensor.c @@ -1,4 +1,4 @@ -/* $NetBSD: swsensor.c,v 1.10 2011/06/19 03:12:31 pgoyette Exp $ */ +/* $NetBSD: swsensor.c,v 1.11 2011/06/19 04:08:48 pgoyette Exp $ */ /* * Copyright (c) 2008 The NetBSD Foundation, Inc. * All rights reserved. @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: swsensor.c,v 1.10 2011/06/19 03:12:31 pgoyette Exp $"); +__KERNEL_RCSID(0, "$NetBSD: swsensor.c,v 1.11 2011/06/19 04:08:48 pgoyette Exp $"); #include #include @@ -205,7 +205,7 @@ swsensor_init(void *arg) } if (type != PROP_TYPE_STRING) return EINVAL; - str = prop_dictionary_keysym_cstring_nocopy(po); + str = prop_string_cstring_nocopy(po); descr = sme_find_table_desc(SME_DESC_UNITS, str); if (descr->type < 0)