summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1998-02-15 10:58:17 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1998-02-15 10:58:17 +0000
commit480d43780df1a12e22ffe259f4efb61651f6c874 (patch)
tree2a59505feb62cd7e4da7a2952a1779c6a503b3a3 /bin
parent4f0d5513ca0d06ce9bd6f334ebbd3fe9f9154f55 (diff)
Notes
Diffstat (limited to 'bin')
-rw-r--r--bin/csh/file.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/csh/file.c b/bin/csh/file.c
index 1e8d80ce55ae..4157c566e7be 100644
--- a/bin/csh/file.c
+++ b/bin/csh/file.c
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: file.c,v 1.4 1995/06/18 14:08:44 ache Exp $
+ * $Id: file.c,v 1.4.2.1 1997/08/24 21:41:33 jkh Exp $
*/
#ifndef lint
@@ -450,7 +450,7 @@ tsearch(word, command, max_word_length)
looking_for_lognames = (*word == '~') && (Strchr(word, '/') == NULL);
if (looking_for_lognames) {
- (void) setpwent();
+ setpwent();
copyn(name, &word[1], MAXNAMLEN); /* name sans ~ */
dir_fd = NULL;
}
@@ -498,7 +498,7 @@ again: /* search for matches */
ignoring = FALSE;
nignored = 0;
if (looking_for_lognames)
- (void) setpwent();
+ setpwent();
else
rewinddir(dir_fd);
goto again;