Module Name: src
Committed By: abhinav
Date: Sun Apr 23 06:46:04 UTC 2017
Modified Files:
src/lib/libc/sys: write.2
Log Message:
Fix sentences at couple of places
s/a file/the file/
s/a -1 is returned/-1 is returned/
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/lib/libc/sys/write.2
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/sys/write.2
diff -u src/lib/libc/sys/write.2:1.33 src/lib/libc/sys/write.2:1.34
--- src/lib/libc/sys/write.2:1.33 Sun Jul 14 14:29:09 2013
+++ src/lib/libc/sys/write.2 Sun Apr 23 06:46:04 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: write.2,v 1.33 2013/07/14 14:29:09 njoly Exp $
+.\" $NetBSD: write.2,v 1.34 2017/04/23 06:46:04 abhinav Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -115,7 +115,7 @@ is undefined.
.Pp
If the real user is not the super-user, then
.Fn write
-clears the set-user-id bit on a file.
+clears the set-user-id bit on the file.
This prevents penetration of system security
by a user who
.Dq captures
@@ -139,7 +139,7 @@ and the remainder of the operation shoul
.Sh RETURN VALUES
Upon successful completion the number of bytes which were written
is returned.
-Otherwise a \-1 is returned and the global variable
+Otherwise \-1 is returned and the global variable
.Va errno
is set to indicate the error.
.Sh ERRORS