svn commit: r282033 - head/sys/kern
Mateusz Guzik
mjg at FreeBSD.org
Sun Apr 26 17:27:56 UTC 2015
Author: mjg
Date: Sun Apr 26 17:27:55 2015
New Revision: 282033
URL: https://svnweb.freebsd.org/changeset/base/282033
Log:
fd: plug an always overwritten initialization in fdalloc
Modified:
head/sys/kern/kern_descrip.c
Modified: head/sys/kern/kern_descrip.c
==============================================================================
--- head/sys/kern/kern_descrip.c Sun Apr 26 17:22:59 2015 (r282032)
+++ head/sys/kern/kern_descrip.c Sun Apr 26 17:27:55 2015 (r282033)
@@ -1609,7 +1609,7 @@ fdalloc(struct thread *td, int minfd, in
{
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
More information about the svn-src-all
mailing list