crypto(9): Print flags in more useful hex

Sponsored by:	Dell EMC Isilon
This commit is contained in:
Conrad Meyer 2017-10-11 20:04:30 +00:00
parent 2be6126d2a
commit d7d2f0d4d1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=324537

View File

@ -572,7 +572,7 @@ crypto_get_driverid(device_t dev, int flags)
crypto_drivers[i].cc_dev = dev;
crypto_drivers[i].cc_flags = flags;
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);
CRYPTO_DRIVER_UNLOCK();