Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern comment police



details:   https://anonhg.NetBSD.org/src/rev/5e7ed2372e6b
branches:  trunk
changeset: 512822:5e7ed2372e6b
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Tue Jul 17 18:21:59 2001 +0000

description:
comment police

diffstat:

 sys/kern/sys_pipe.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 970cb4aa3490 -r 5e7ed2372e6b sys/kern/sys_pipe.c
--- a/sys/kern/sys_pipe.c       Tue Jul 17 18:18:52 2001 +0000
+++ b/sys/kern/sys_pipe.c       Tue Jul 17 18:21:59 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sys_pipe.c,v 1.7 2001/07/17 18:18:52 jdolecek Exp $    */
+/*     $NetBSD: sys_pipe.c,v 1.8 2001/07/17 18:21:59 jdolecek Exp $    */
 
 /*
  * Copyright (c) 1996 John S. Dyson
@@ -1129,7 +1129,7 @@
        }
 
        uio->uio_resid  -= bcnt;
-       /* uio_offset not updated, not set/uset for write(2) */
+       /* uio_offset not updated, not set/used for write(2) */
 
        return (0);
 }
@@ -1188,8 +1188,8 @@
                        pipeunlock(wpipe);
                } else {
                        /*
-                        * If an error occured, unbusy and return, waking up any
-                        * pending readers.
+                        * If an error occurred, unbusy and return, waking up
+                        * any waiting readers.
                         */ 
                        --wpipe->pipe_busy;
                        if (wpipe->pipe_busy == 0



Home | Main Index | Thread Index | Old Index