diff options
author | 2001-02-16 01:56:58 +0000 | |
---|---|---|
committer | 2001-02-16 01:56:58 +0000 | |
commit | 3ff8a2ff2b9aae8ac84c95bad95b75b82b998b09 (patch) | |
tree | 24c571a97ecca3bc4065838e5257f76a0910e93c /lib/libc/sys/write.2 | |
parent | genericize password padding function for SSH1 and SSH2. (diff) | |
download | wireguard-openbsd-3ff8a2ff2b9aae8ac84c95bad95b75b82b998b09.tar.xz wireguard-openbsd-3ff8a2ff2b9aae8ac84c95bad95b75b82b998b09.zip |
style(9) nit in examples, aaron@ ok
Diffstat (limited to 'lib/libc/sys/write.2')
-rw-r--r-- | lib/libc/sys/write.2 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/sys/write.2 b/lib/libc/sys/write.2 index 860932e0d59..d5b5e6baae4 100644 --- a/lib/libc/sys/write.2 +++ b/lib/libc/sys/write.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: write.2,v 1.21 2000/10/18 05:12:12 aaron Exp $ +.\" $OpenBSD: write.2,v 1.22 2001/02/16 01:56:58 smart Exp $ .\" $NetBSD: write.2,v 1.6 1995/02/27 12:39:43 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -248,7 +248,7 @@ functions conform to Error checks should explicitly test for \-1. Code such as .Bd -literal - while ((nr = write(fd, buf, sizeof buf)) > 0) + while ((nr = write(fd, buf, sizeof(buf))) > 0) .Ed .Pp is not maximally portable, as some platforms allow for @@ -262,7 +262,7 @@ and may appear as a negative number distinct from \-1. Proper loops should use .Bd -literal - while ((nr = write(fd, buf, sizeof buf)) != -1 && nr != 0) + while ((nr = write(fd, buf, sizeof(buf))) != -1 && nr != 0) .Ed .Sh HISTORY The |