mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
One more sscanf change
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5169 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
4edf18b009
commit
99bc5e453b
@ -422,7 +422,7 @@ int vsscanf(FAR char *buf, FAR const char *fmt, va_list ap)
|
||||
if (!noassign)
|
||||
{
|
||||
int *pint = va_arg(ap, int*);
|
||||
*pint = (int)(buf - bufstart) - 1;
|
||||
*pint = (int)(buf - bufstart);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user