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