diff options
author | 2001-01-20 17:57:09 +0000 | |
---|---|---|
committer | 2001-01-20 17:57:09 +0000 | |
commit | d0564bdf3d2c66422383bf1932f9726d62bc374f (patch) | |
tree | 5e9ae2a4135dec361f06d9ff7b90c06a97d95c90 | |
parent | no options; from kennedyh@engin.umich.edu (diff) | |
download | wireguard-openbsd-d0564bdf3d2c66422383bf1932f9726d62bc374f.tar.xz wireguard-openbsd-d0564bdf3d2c66422383bf1932f9726d62bc374f.zip |
style(9) in example code.
-rw-r--r-- | lib/libc/gen/directory.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/gen/directory.3 b/lib/libc/gen/directory.3 index e302ea9bf6e..611345bdcc1 100644 --- a/lib/libc/gen/directory.3 +++ b/lib/libc/gen/directory.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: directory.3,v 1.14 2000/12/21 17:25:25 aaron Exp $ +.\" $OpenBSD: directory.3,v 1.15 2001/01/20 17:57:09 aaron Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -180,11 +180,11 @@ if (dirp) { while ((dp = readdir(dirp)) != NULL) if (dp->d_namlen == len && !strcmp(dp->d_name, name)) { (void)closedir(dirp); - return FOUND; + return (FOUND); } (void)closedir(dirp); } -return NOT_FOUND; +return (NOT_FOUND); .Ed .Sh SEE ALSO .Xr close 2 , |