svn commit: r237028 - head/sys/kern
Pawel Jakub Dawidek
pjd at FreeBSD.org
Wed Jun 13 21:10:00 UTC 2012
Author: pjd
Date: Wed Jun 13 21:10:00 2012
New Revision: 237028
URL: http://svn.freebsd.org/changeset/base/237028
Log:
There is no need to set td->td_retval[0] to -1 on error.
Confirmed by: jhb
MFC after: 1 month
Modified:
head/sys/kern/vfs_syscalls.c
Modified: head/sys/kern/vfs_syscalls.c
==============================================================================
--- head/sys/kern/vfs_syscalls.c Wed Jun 13 21:03:01 2012 (r237027)
+++ head/sys/kern/vfs_syscalls.c Wed Jun 13 21:10:00 2012 (r237028)
@@ -1250,7 +1250,6 @@ bad_unlocked:
if (indx != -1)
fdclose(fdp, fp, indx, td);
fdrop(fp, td);
- td->td_retval[0] = -1;
return (error);
}
More information about the svn-src-all
mailing list