summaryrefslogtreecommitdiff
path: root/lib/libc/gen/getusershell.c
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>1998-11-13 15:46:52 +0000
committerchristos <christos@NetBSD.org>1998-11-13 15:46:52 +0000
commit2c89343c25e923f229efab99a5c73bb129bcacfc (patch)
tree1fddad2514ea0439142f1bbfb2a249ea20a46349 /lib/libc/gen/getusershell.c
parent36b0b72f6fb286b3faeb543235a91e2a62be5dbb (diff)
delint
Diffstat (limited to 'lib/libc/gen/getusershell.c')
-rw-r--r--lib/libc/gen/getusershell.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/gen/getusershell.c b/lib/libc/gen/getusershell.c
index c6b743c1a1b..9df3578e0b0 100644
--- a/lib/libc/gen/getusershell.c
+++ b/lib/libc/gen/getusershell.c
@@ -1,4 +1,4 @@
-/* $NetBSD: getusershell.c,v 1.11 1998/11/13 10:26:19 christos Exp $ */
+/* $NetBSD: getusershell.c,v 1.12 1998/11/13 15:49:29 christos Exp $ */
/*
* Copyright (c) 1985, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)getusershell.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: getusershell.c,v 1.11 1998/11/13 10:26:19 christos Exp $");
+__RCSID("$NetBSD: getusershell.c,v 1.12 1998/11/13 15:49:29 christos Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -78,8 +78,10 @@ getusershell()
if (curshell == NULL)
curshell = initshells();
+
/* LINTED (auditing puproses only */
ret = (__aconst char *)*curshell;
+
if (ret != NULL)
curshell++;
return (ret);