diff options
author | phk <phk@FreeBSD.org> | 2003-03-16 23:20:05 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-03-16 23:20:05 +0000 |
commit | 1ff2d4dcb15dd93f96e9c6b358020a44028b362c (patch) | |
tree | aada2f1a1b5a509270b807ca00d1c2b3cfba1056 /sys/sys/devicestat.h | |
parent | 4b49145ba5a3d718e8bfc99f49f8011d4eefb586 (diff) | |
download | FreeBSD-src-1ff2d4dcb15dd93f96e9c6b358020a44028b362c.zip FreeBSD-src-1ff2d4dcb15dd93f96e9c6b358020a44028b362c.tar.gz |
Add a #define for the device name of the mmap device for devstat.
Constify the geom identification pointer.
Diffstat (limited to 'sys/sys/devicestat.h')
-rw-r--r-- | sys/sys/devicestat.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/sys/devicestat.h b/sys/sys/devicestat.h index c06df37..d8288a2 100644 --- a/sys/sys/devicestat.h +++ b/sys/sys/devicestat.h @@ -40,6 +40,11 @@ #define DEVSTAT_NAME_LEN 16 /* + * device name for the mmap device + */ +#define DEVSTAT_DEVICE_NAME "devstat" + +/* * ATTENTION: The devstat version below should be incremented any time a * change is made in struct devstat, or any time a change is made in the * enumerated types that struct devstat uses. (Only if those changes @@ -163,7 +168,7 @@ struct devstat { */ devstat_type_flags device_type; /* Device type */ devstat_priority priority; /* Controls list pos. */ - void *id; /* + const void *id; /* * Identification for * GEOM nodes */ |