X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=wrapper%2Fuuid.h;h=b118b3652712247087e012db9469e5897cd34879;hb=bbda3a00431e819ecfbe0056eaa598100c848e0c;hp=569ccab693b640ef52e5f4ec7aca94f6aa58a172;hpb=a864fb02d6918ad014596afef779c964e061c127;p=lttng-modules.git diff --git a/wrapper/uuid.h b/wrapper/uuid.h index 569ccab6..b118b365 100644 --- a/wrapper/uuid.h +++ b/wrapper/uuid.h @@ -1,5 +1,5 @@ -#ifndef _LTT_WRAPPER_UUID_H -#define _LTT_WRAPPER_UUID_H +#ifndef _LTTNG_WRAPPER_UUID_H +#define _LTTNG_WRAPPER_UUID_H /* * Copyright (C) 2011 Mathieu Desnoyers (mathieu.desnoyers@efficios.com) @@ -22,8 +22,8 @@ typedef struct { static inline void uuid_le_gen(uuid_le *u) { - genarate_random_uuid(u); + generate_random_uuid(u->b); } #endif -#endif /* _LTT_WRAPPER_UUID_H */ +#endif /* _LTTNG_WRAPPER_UUID_H */