Merge pull request #40 from lioncash/va
soc_ioctl: Add a missing va_end call
This commit is contained in:
commit
d5bb0323a5
@ -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