[PATCH] erofs-utils: mkfs: fix uuid.h location

Li GuiFu bluce.lee at aliyun.com
Sat Dec 12 20:04:10 AEDT 2020



On 2020/12/9 8:49, Gao Xiang via Linux-erofs wrote:
> From: Gao Xiang <hsiangkao at aol.com>
> 
> As Karel reported [1], "The subdirectory in
>     #include <uuid/uuid.h>
> 
> is unnecessary (or wrong), if you use
>     PKG_CHECK_MODULES([libuuid], [uuid])
> 
> than it returns the subdirectory as -I, see
> 
>     $ pkg-config --cflags uuid
>     -I/usr/include/uuid
> 
> so the correct way is
>      #include <uuid.h>". Let's fix it now!
> 
> [1] https://lore.kernel.org/r/20201208100910.dqqh5cqihewkyetc@ws.net.home
> 
> Reported-by: Karel Zak <kzak at redhat.com>
> Fixes: e023d47593ff ("erofs-utils: support 128-bit filesystem UUID")
> Signed-off-by: Gao Xiang <hsiangkao at aol.com>
> ---
>  mkfs/main.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
It looks good
Reviewed-by: Li Guifu <bluce.lee at aliyun.com>
Thanks,


More information about the Linux-erofs mailing list