fd: plug an always overwritten initialization in fdalloc

This commit is contained in:
Mateusz Guzik
2015-04-26 17:27:55 +00:00
parent 203322f966
commit 8d0a4ab212
+1 -1
View File
@@ -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