We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee34ff6 commit f5d3697Copy full SHA for f5d3697
1 file changed
xhyve/uuid.go
@@ -7,16 +7,14 @@ package xhyve
7
char uuid_str[37];
8
9
extern inline char* uuidgen() {
10
- // typedef unsigned char uuid_t;
11
uuid_t uuid;
12
13
- // generate
+ // generate with random
14
uuid_generate_random(uuid);
15
16
// unparse (to string)
17
uuid_unparse_upper(uuid, uuid_str);
18
19
- // return printf("%s\n", uuid_str);
20
return uuid_str;
21
}
22
*/
0 commit comments