dtrace: add warning for /dev/dtrace/prototype
Let the programmer know that creating a device is not necessary. Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D35381
This commit is contained in:
parent
2a72a1a41b
commit
034667f9fa
@ -82,7 +82,10 @@ prototype_disable(void *arg, dtrace_id_t id, void *parg)
|
||||
static void
|
||||
prototype_load(void *dummy)
|
||||
{
|
||||
/* Create the /dev/dtrace/prototype entry. */
|
||||
/*
|
||||
* Create the /dev/dtrace/prototype entry.
|
||||
* XXX: Remove this if the provider does not need any customs ioctls.
|
||||
*/
|
||||
prototype_cdev = make_dev(&prototype_cdevsw, 0, UID_ROOT, GID_WHEEL, 0600,
|
||||
"dtrace/prototype");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user