mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-19 02:29:40 +00:00
fd: plug an always overwritten initialization in fdalloc
This commit is contained in:
parent
203322f966
commit
8d0a4ab212
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=282033
@ -1609,7 +1609,7 @@ fdalloc(struct thread *td, int minfd, int *result)
|
||||
{
|
||||
struct proc *p = td->td_proc;
|
||||
struct filedesc *fdp = p->p_fd;
|
||||
int fd = -1, maxfd, allocfd;
|
||||
int fd, maxfd, allocfd;
|
||||
#ifdef RACCT
|
||||
int error;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user