Skip to content
Snippets Groups Projects
Commit cf59fd17 authored by patacongo's avatar patacongo
Browse files

One more sscanf change

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5169 42af7a65-404d-4744-a932-0658087f49c3
parent 626be6d9
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment