summaryrefslogtreecommitdiff
path: root/lib/libc/gen/fts.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-08-24 17:04:13 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-08-24 17:04:13 +0000
commit90764cf33b8b9e10abd667c96a9ac6e4f74b735d (patch)
treec9bd79a2b93f0d51b2974f06fb2549826044c397 /lib/libc/gen/fts.c
parente0daf4e242491907fa3fb61c682b780c014d1489 (diff)
KNF
Diffstat (limited to 'lib/libc/gen/fts.c')
-rw-r--r--lib/libc/gen/fts.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/gen/fts.c b/lib/libc/gen/fts.c
index 790d665a64f..e28cf9bbd94 100644
--- a/lib/libc/gen/fts.c
+++ b/lib/libc/gen/fts.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fts.c,v 1.23 1999/10/03 20:39:53 millert Exp $ */
+/* $OpenBSD: fts.c,v 1.24 2000/08/24 17:04:12 deraadt Exp $ */
/*-
* Copyright (c) 1990, 1993, 1994
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)fts.c 8.6 (Berkeley) 8/14/94";
#else
-static char rcsid[] = "$OpenBSD: fts.c,v 1.23 1999/10/03 20:39:53 millert Exp $";
+static char rcsid[] = "$OpenBSD: fts.c,v 1.24 2000/08/24 17:04:12 deraadt Exp $";
#endif
#endif /* LIBC_SCCS and not lint */
@@ -216,7 +216,7 @@ fts_close(sp)
FTS *sp;
{
register FTSENT *freep, *p;
- int saved_errno;
+ int saved_errno = 0;
/*
* This still works if we haven't read anything -- the dummy structure