crypto(9): Print flags in more useful hex
Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
2be6126d2a
commit
d7d2f0d4d1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=324537
@ -572,7 +572,7 @@ crypto_get_driverid(device_t dev, int flags)
|
|||||||
crypto_drivers[i].cc_dev = dev;
|
crypto_drivers[i].cc_dev = dev;
|
||||||
crypto_drivers[i].cc_flags = flags;
|
crypto_drivers[i].cc_flags = flags;
|
||||||
if (bootverbose)
|
if (bootverbose)
|
||||||
printf("crypto: assign %s driver id %u, flags %u\n",
|
printf("crypto: assign %s driver id %u, flags 0x%x\n",
|
||||||
device_get_nameunit(dev), i, flags);
|
device_get_nameunit(dev), i, flags);
|
||||||
|
|
||||||
CRYPTO_DRIVER_UNLOCK();
|
CRYPTO_DRIVER_UNLOCK();
|
||||||
|
Loading…
Reference in New Issue
Block a user