soc_ioctl: Add a missing va_end call
This commit is contained in:
parent
165e50091c
commit
15cd3bd2c3
@ -24,6 +24,7 @@ int ioctl(int fd, int request, ...)
|
|||||||
flags = fcntl(fd, F_GETFL, 0);
|
flags = fcntl(fd, F_GETFL, 0);
|
||||||
if(flags == -1) {
|
if(flags == -1) {
|
||||||
errno = SOC_GetErrno();
|
errno = SOC_GetErrno();
|
||||||
|
va_end(ap);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user