summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/opencrypto/cryptodev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/opencrypto/cryptodev.c b/sys/opencrypto/cryptodev.c
index 4967d16..f26321b 100644
--- a/sys/opencrypto/cryptodev.c
+++ b/sys/opencrypto/cryptodev.c
@@ -775,7 +775,7 @@ cryptodev_modevent(module_t mod, int type, void *unused)
case MOD_LOAD:
if (bootverbose)
printf("crypto: <crypto device>\n");
- crypto_dev = make_dev(&crypto_cdevsw, CRYPTO_MAJOR,
+ crypto_dev = make_dev(&crypto_cdevsw, 0,
UID_ROOT, GID_WHEEL, 0666,
"crypto");
return 0;
OpenPOWER on IntegriCloud