diff options
author | 2002-04-05 01:44:38 +0000 | |
---|---|---|
committer | 2002-04-05 01:44:38 +0000 | |
commit | f6418638ad0f86c0d269f86cefe74f92016e9238 (patch) | |
tree | 7fd92d649ceb2c43b8b3410cc0bbccef97d2d2ac /lib/libc/stdio | |
parent | permit maxusers down to 2 (diff) | |
download | wireguard-openbsd-f6418638ad0f86c0d269f86cefe74f92016e9238.tar.xz wireguard-openbsd-f6418638ad0f86c0d269f86cefe74f92016e9238.zip |
Use the more likely pointer in a sample code fragment; miod@ ok.
Diffstat (limited to 'lib/libc/stdio')
-rw-r--r-- | lib/libc/stdio/fgets.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdio/fgets.3 b/lib/libc/stdio/fgets.3 index 39da3b65258..9ca36d0859f 100644 --- a/lib/libc/stdio/fgets.3 +++ b/lib/libc/stdio/fgets.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: fgets.3,v 1.12 2002/03/05 16:53:59 millert Exp $ +.\" $OpenBSD: fgets.3,v 1.13 2002/04/05 01:44:38 aaron Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -133,7 +133,7 @@ string is too long if it does not contain a newline: exit(1); } *p = '\e0'; - printf("%s\en", p); + printf("%s\en", buf); } .Ed .Pp |