diff options
author | angelos <> | 2000-11-16 23:27:41 +0000 |
---|---|---|
committer | angelos <> | 2000-11-16 23:27:41 +0000 |
commit | cbd3b2f66c27e7f3d61882c35f0db143654e2924 (patch) | |
tree | ce4ca32cea6b54faf325278ff384a158df9d661e | |
parent | 19685dfdc2e84c7e67db6097283954067486088f (diff) | |
download | openbsd-cbd3b2f66c27e7f3d61882c35f0db143654e2924.tar.gz openbsd-cbd3b2f66c27e7f3d61882c35f0db143654e2924.tar.bz2 openbsd-cbd3b2f66c27e7f3d61882c35f0db143654e2924.zip |
"of", not "on" (from Henric Jungheim)
-rw-r--r-- | src/lib/libc/string/strlcpy.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libc/string/strlcpy.3 b/src/lib/libc/string/strlcpy.3 index 13db956d22..c1e8a0d510 100644 --- a/src/lib/libc/string/strlcpy.3 +++ b/src/lib/libc/string/strlcpy.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: strlcpy.3,v 1.10 2000/11/06 01:03:25 aaron Exp $ | 1 | .\" $OpenBSD: strlcpy.3,v 1.11 2000/11/16 23:27:41 angelos Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 1998, 2000 Todd C. Miller <Todd.Miller@courtesan.com> | 3 | .\" Copyright (c) 1998, 2000 Todd C. Miller <Todd.Miller@courtesan.com> |
4 | .\" All rights reserved. | 4 | .\" All rights reserved. |
@@ -143,7 +143,7 @@ if (strlcat(pname, file, sizeof(pname)) >= sizeof(pname)) | |||
143 | .Ed | 143 | .Ed |
144 | .Pp | 144 | .Pp |
145 | Since we know how many characters we copied the first time, we can | 145 | Since we know how many characters we copied the first time, we can |
146 | speed things up a bit by using a copy instead on an append: | 146 | speed things up a bit by using a copy instead of an append: |
147 | .Bd -literal -offset indent | 147 | .Bd -literal -offset indent |
148 | char *dir, *file, pname[MAXPATHLEN]; | 148 | char *dir, *file, pname[MAXPATHLEN]; |
149 | size_t n; | 149 | size_t n; |