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:
parent
49c00e0361
commit
7060408c62
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user