diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 2001-01-20 17:57:10 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 2001-01-20 17:57:10 +0000 |
commit | ab992ef793799c71f418114086a889e96c857d7d (patch) | |
tree | 1ceff7b0036229d13a024d3514b55a350148606f /lib | |
parent | 6311e213ce8e33e7621dfc3259fa1a4f97d134c8 (diff) |
style(9) in example code.
Diffstat (limited to 'lib')
-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 , |