PERFORCE change 145967 for review

Ed Schouten ed at FreeBSD.org
Sat Jul 26 12:05:33 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=145967

Change 145967 by ed at ed_dull on 2008/07/26 12:04:55

	Return the errno we got from pts_alloc() instead of hardcoding
	EAGAIN.

Affected files ...

.. //depot/projects/mpsafetty/sys/dev/pts/pts.c#6 edit

Differences ...

==== //depot/projects/mpsafetty/sys/dev/pts/pts.c#6 (text+ko) ====

@@ -587,7 +587,7 @@
 	error = pts_alloc(FFLAGS(uap->flags & O_ACCMODE), td, fp);
 	if (error != 0) {
 		fdclose(td->td_proc->p_fd, fp, fd, td);
-		return (EAGAIN);
+		return (error);
 	}
 
 	/* Pass it back to userspace */


More information about the p4-projects mailing list