Re: [PATCH 2/3] utest/tracefs-utest: add missing define

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 15 Feb 2024 10:02:42 +0100
Miko Larsson via B4 Relay <devnull+mikoxyzzz.gmail.com@xxxxxxxxxx> wrote:

> From: Miko Larsson <mikoxyzzz@xxxxxxxxx>
> 
> Fixes FTBFS with clang >=15

FTBFS is a rather useless explanation (and I had to even look it up to find
out what it is ;-)

The change log should show the error and explain why the change fixes the
problem.

Thanks,

-- Steve


> 
> Fixes: 0f45e68cb04a ("libtracefs: Add unit tests for tracefs_cpu functions")
> Signed-off-by: Miko Larsson <mikoxyzzz@xxxxxxxxx>
> ---
>  utest/tracefs-utest.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/utest/tracefs-utest.c b/utest/tracefs-utest.c
> index a798ace..e30e8e7 100644
> --- a/utest/tracefs-utest.c
> +++ b/utest/tracefs-utest.c
> @@ -3,6 +3,8 @@
>   * Copyright (C) 2020, VMware, Tzvetomir Stoyanov <tz.stoyanov@xxxxxxxxx>
>   *
>   */
> +#define _LARGEFILE64_SOURCE
> +
>  #include <stdio.h>
>  #include <stdlib.h>
>  #include <sys/stat.h>
> 





[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux