From ab992ef793799c71f418114086a889e96c857d7d Mon Sep 17 00:00:00 2001 From: Aaron Campbell Date: Sat, 20 Jan 2001 17:57:10 +0000 Subject: style(9) in example code. --- lib/libc/gen/directory.3 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/libc') 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 , -- cgit v1.2.3