Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/sysmon Use correct routine to retrieve string value ...
details: https://anonhg.NetBSD.org/src/rev/14c13ae34a54
branches: trunk
changeset: 766235:14c13ae34a54
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Sun Jun 19 04:08:48 2011 +0000
description:
Use correct routine to retrieve string value from prop-dictionary
diffstat:
sys/dev/sysmon/swsensor.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 0a49c7110400 -r 14c13ae34a54 sys/dev/sysmon/swsensor.c
--- a/sys/dev/sysmon/swsensor.c Sun Jun 19 03:12:31 2011 +0000
+++ b/sys/dev/sysmon/swsensor.c Sun Jun 19 04:08:48 2011 +0000
@@ -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 <sys/cdefs.h>
-__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 <sys/param.h>
#include <sys/kernel.h>
@@ -205,7 +205,7 @@
}
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)
Home |
Main Index |
Thread Index |
Old Index