summaryrefslogtreecommitdiff
path: root/lib/libutil
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2004-04-23 15:23:26 +0000
committerchristos <christos@NetBSD.org>2004-04-23 15:23:26 +0000
commitdea77b180694fe059128ed8eb3a0dcafa3bbf06e (patch)
treeb5dc189ea91998a12a0e8271e9009b608ce68f32 /lib/libutil
parent9be64e49b4c5b3e349c62e1661a60efcc4f8cfcb (diff)
sprinkle const
Diffstat (limited to 'lib/libutil')
-rw-r--r--lib/libutil/login_cap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libutil/login_cap.c b/lib/libutil/login_cap.c
index e2efe3c1d10..0191222705d 100644
--- a/lib/libutil/login_cap.c
+++ b/lib/libutil/login_cap.c
@@ -1,4 +1,4 @@
-/* $NetBSD: login_cap.c,v 1.16 2004/04/18 18:21:43 matt Exp $ */
+/* $NetBSD: login_cap.c,v 1.17 2004/04/23 15:23:26 christos Exp $ */
/*-
* Copyright (c) 1995,1997 Berkeley Software Design, Inc. All rights reserved.
@@ -36,7 +36,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: login_cap.c,v 1.16 2004/04/18 18:21:43 matt Exp $");
+__RCSID("$NetBSD: login_cap.c,v 1.17 2004/04/23 15:23:26 christos Exp $");
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@@ -71,7 +71,7 @@ static int isinfinite(const char *);
login_cap_t *
login_getclass(char *class)
{
- char *classfiles[2];
+ const char *classfiles[2];
login_cap_t *lc;
int res;