X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=wrapper%2Fuuid.h;h=465754e257946e106d1f2b9ea13736270316790c;hb=a5ff32cb4728ce8f7f2009261498c4f2f1f7129c;hp=569ccab693b640ef52e5f4ec7aca94f6aa58a172;hpb=a864fb02d6918ad014596afef779c964e061c127;p=lttng-modules.git diff --git a/wrapper/uuid.h b/wrapper/uuid.h index 569ccab6..465754e2 100644 --- a/wrapper/uuid.h +++ b/wrapper/uuid.h @@ -1,12 +1,13 @@ -#ifndef _LTT_WRAPPER_UUID_H -#define _LTT_WRAPPER_UUID_H - -/* - * Copyright (C) 2011 Mathieu Desnoyers (mathieu.desnoyers@efficios.com) +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) + * + * wrapper/uuid.h * - * Dual LGPL v2.1/GPL v2 license. + * Copyright (C) 2011-2012 Mathieu Desnoyers */ +#ifndef _LTTNG_WRAPPER_UUID_H +#define _LTTNG_WRAPPER_UUID_H + #include #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,35)) @@ -22,8 +23,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 */