X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=wrapper%2Fuuid.h;h=b118b3652712247087e012db9469e5897cd34879;hb=99dc95978f22d31ac51c03e2df5bbe9e7876ec6a;hp=e8975ffa09f2144692ddab46725832aabf005cc8;hpb=b7f2e98ea37980b61e8bbf871085ae227e155dfb;p=lttng-modules.git diff --git a/wrapper/uuid.h b/wrapper/uuid.h index e8975ffa..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) { - generate_random_uuid(u.b); + generate_random_uuid(u->b); } #endif -#endif /* _LTT_WRAPPER_UUID_H */ +#endif /* _LTTNG_WRAPPER_UUID_H */