aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/devicestat.h
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2003-03-18 07:52:59 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2003-03-18 07:52:59 +0000
commit538aabaad9fbaef3215808f42db4fe7b61c79189 (patch)
tree927b8f9d9d1dd89aeb8e4cebde5c70db737da370 /sys/sys/devicestat.h
parent16a930f6cb6c23a6a075200e4b26c23db70264c6 (diff)
downloadsrc-538aabaad9fbaef3215808f42db4fe7b61c79189.tar.gz
src-538aabaad9fbaef3215808f42db4fe7b61c79189.zip
Make devstat_new_entry() take a const void * rather than const char *
argument, GEOM nodes are not identified by ascii string.
Notes
Notes: svn path=/head/; revision=112365
Diffstat (limited to 'sys/sys/devicestat.h')
-rw-r--r--sys/sys/devicestat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/devicestat.h b/sys/sys/devicestat.h
index d8288a26532a..2fb19ecb89e7 100644
--- a/sys/sys/devicestat.h
+++ b/sys/sys/devicestat.h
@@ -180,7 +180,7 @@ STAILQ_HEAD(devstatlist, devstat);
#ifdef _KERNEL
struct bio;
-struct devstat *devstat_new_entry(const char *dev_name, int unit_number,
+struct devstat *devstat_new_entry(const void *dev_name, int unit_number,
u_int32_t block_size,
devstat_support_flags flags,
devstat_type_flags device_type,