Fix net/rpmsgdrv.c:440:20: error: '#' flag used with '%p' gnu_printf format

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-01-07 10:37:26 +08:00 committed by Xiang Xiao
parent 49c00e0361
commit 7060408c62

View File

@ -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;