From 7060408c623b324041eb5650f3f9a0332609ad40 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Fri, 7 Jan 2022 10:37:26 +0800 Subject: [PATCH] Fix net/rpmsgdrv.c:440:20: error: '#' flag used with '%p' gnu_printf format Signed-off-by: Xiang Xiao --- drivers/net/rpmsgdrv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/rpmsgdrv.c b/drivers/net/rpmsgdrv.c index b0803e4e38..07e19dfd49 100644 --- a/drivers/net/rpmsgdrv.c +++ b/drivers/net/rpmsgdrv.c @@ -437,8 +437,8 @@ static int net_rpmsg_drv_sockioctl_handler(FAR struct rpmsg_endpoint *ept, /* Save pointers into argv */ - sprintf(arg1, "%#p", ept); - sprintf(arg2, "%#p", data); + sprintf(arg1, "%p", ept); + sprintf(arg2, "%p", data); argv[0] = arg1; argv[1] = arg2;