Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jul 2008 12:05:32 GMT
From:      Ed Schouten <ed@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 145967 for review
Message-ID:  <200807261205.m6QC5W5s075385@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=145967

Change 145967 by ed@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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807261205.m6QC5W5s075385>