Author: pjd
Date: Sat Jun  9 12:27:30 2012
New Revision: 236812
URL: http://svn.freebsd.org/changeset/base/236812

Log:
  Correct panic message.
  
  MFC after:    1 month
  MFC with:     r236731

Modified:
  head/sys/kern/kern_descrip.c

Modified: head/sys/kern/kern_descrip.c
==============================================================================
--- head/sys/kern/kern_descrip.c        Sat Jun  9 12:25:30 2012        
(r236811)
+++ head/sys/kern/kern_descrip.c        Sat Jun  9 12:27:30 2012        
(r236812)
@@ -1554,7 +1554,7 @@ fdalloc(struct thread *td, int minfd, in
         */
        KASSERT(!fdisused(fdp, fd),
            ("fd_first_free() returned non-free descriptor"));
-       KASSERT(fdp->fd_ofiles[fd] == NULL, ("free descriptor isn't"));
+       KASSERT(fdp->fd_ofiles[fd] == NULL, ("file descriptor isn't free"));
        KASSERT(fdp->fd_ofileflags[fd] == 0, ("file flags are set"));
        fdused(fdp, fd);
        *result = fd;
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to