diff options
Diffstat (limited to 'lib/uuid.c')
| -rw-r--r-- | lib/uuid.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/uuid.c b/lib/uuid.c index e309b4c5be3d..128a51f1879b 100644 --- a/lib/uuid.c +++ b/lib/uuid.c @@ -10,6 +10,7 @@ #include <linux/ctype.h> #include <linux/errno.h> #include <linux/export.h> +#include <linux/hex.h> #include <linux/uuid.h> #include <linux/random.h> @@ -53,7 +54,7 @@ EXPORT_SYMBOL(generate_random_guid); static void __uuid_gen_common(__u8 b[16]) { get_random_bytes(b, 16); - /* reversion 0b10 */ + /* revision 0b10 */ b[8] = (b[8] & 0x3F) | 0x80; } |
